Documentation ¶
Index ¶
- type VDR
- func (v *VDR) Accept(method string) bool
- func (v *VDR) Close() error
- func (v *VDR) Create(keyManager kms.KeyManager, didDoc *did.Doc, opts ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
- func (v *VDR) Deactivate(did string, opts ...vdrapi.DIDMethodOption) error
- func (v *VDR) Read(didID string, opts ...vdrapi.ResolveOption) (*did.DocResolution, error)
- func (v *VDR) Update(didDoc *diddoc.Doc, opts ...vdrapi.DIDMethodOption) error
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 (*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.
Click to show internal directories.
Click to hide internal directories.