presentproof

package
v0.1.6-0...-5c25bcb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PresentationDefinition

func PresentationDefinition(p Provider) presentproof.Middleware

PresentationDefinition the helper function for the present proof protocol that creates VP based on credentials that were provided in the attachments according to the requested presentation definition.

func SavePresentation

func SavePresentation(p Provider) presentproof.Middleware

SavePresentation the helper function for the present proof protocol which saves the presentations.

Types

type Metadata

type Metadata presentproof.Metadata

Metadata is an alias to the original Metadata.

type Provider

type Provider interface {
	VerifiableStore() storeverifiable.Store
	VDRegistry() vdrapi.Registry
}

Provider contains dependencies for the SavePresentation middleware function.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL