jsonld

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func New

func New(prov provider) (*Engine, error)

func (*Engine) Accept

func (r *Engine) Accept(typ string) bool

Accept type should be json-ld

func (*Engine) RequestPresentation

func (r *Engine) RequestPresentation(name, version string, attrInfo map[string]*schema.IndyProofRequestAttr,
	predicateInfo map[string]*schema.IndyProofRequestPredicate) (*decorator.AttachmentData, error)

RequestPresentation

func (*Engine) RequestPresentationFormat

func (r *Engine) RequestPresentationFormat() string

func (*Engine) Verify

func (r *Engine) Verify(presentation, request []byte, theirDID string, myDID string) error

Jump to

Keyboard shortcuts

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