web

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

This section is empty.

Types

type VDR

type VDR struct{}

VDR implements the VDR interface.

func New

func New() *VDR

New creates a new VDR struct.

func (*VDR) Accept

func (v *VDR) Accept(method string) bool

Accept method of the VDR interface.

func (*VDR) Close

func (v *VDR) Close() error

Close method of the VDR interface.

func (*VDR) Create

func (v *VDR) Create(keyManager kms.KeyManager, didDoc *did.Doc,
	opts ...vdrapi.DIDMethodOption) (*did.DocResolution, error)

Create creates a did:web diddoc (unsupported at the moment).

func (*VDR) Deactivate

func (v *VDR) Deactivate(did string, opts ...vdrapi.DIDMethodOption) error

Deactivate did doc.

func (*VDR) Read

func (v *VDR) Read(didID string, opts ...vdrapi.ResolveOption) (*did.DocResolution, error)

Read resolves a did:web did.

func (*VDR) Update

func (v *VDR) Update(didDoc *diddoc.Doc, opts ...vdrapi.DIDMethodOption) error

Update did doc.

Jump to

Keyboard shortcuts

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