verifiable

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("did not found under given key")

ErrNotFound signals that the entry for the given DID and key is not present in the store.

Functions

This section is empty.

Types

type Store

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

Store stores vc

func New

func New(ctx provider) (*Store, error)

New returns a new vc store

func (*Store) GetVC

func (s *Store) GetVC(vcID string) (*verifiable.Credential, error)

GetVC get verifiable credential

func (*Store) SaveVC

func (s *Store) SaveVC(vc *verifiable.Credential) error

SaveVC save verifiable credential

Jump to

Keyboard shortcuts

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