Documentation
¶
Overview ¶
Package jwk implements did:jwk method
Index ¶
- Constants
- type VDR
- func (v *VDR) Accept(method string, opts ...vdrapi.DIDMethodOption) bool
- func (v *VDR) Close() error
- func (v *VDR) Create(didDoc *did.Doc, opts ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
- func (v *VDR) Deactivate(didID string, opts ...vdrapi.DIDMethodOption) error
- func (v *VDR) Read(didJWK string, _ ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
- func (v *VDR) Update(didDoc *diddoc.Doc, opts ...vdrapi.DIDMethodOption) error
Constants ¶
View Source
const (
// DIDMethod did method.
DIDMethod = "jwk"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VDR ¶
type VDR struct{}
VDR implements did:jwk method support.
func (*VDR) Accept ¶
func (v *VDR) Accept(method string, opts ...vdrapi.DIDMethodOption) bool
Accept accepts did:jwk method.
func (*VDR) Create ¶
func (v *VDR) Create(didDoc *did.Doc, opts ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
Create new DID document for didDoc.
func (*VDR) Deactivate ¶
func (v *VDR) Deactivate(didID string, opts ...vdrapi.DIDMethodOption) error
Deactivate did doc.
func (*VDR) Read ¶
func (v *VDR) Read(didJWK string, _ ...vdrapi.DIDMethodOption) (*did.DocResolution, error)
Read expands did:jwk value to a DID document.
Click to show internal directories.
Click to hide internal directories.