Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublicDID ¶
func PublicDID(config *Config) func(kms.KeyManager) (*did.DocResolution, error)
PublicDID creates a new public DID given a Config and a key manager.
func VerificationMethods ¶
func VerificationMethods(d *did.Doc, relations ...did.VerificationRelationship) ([]*did.VerificationMethod, error)
VerificationMethods returns the first verification method encountered for all relations in the same given order. At least one relation must be provided.
Types ¶
Click to show internal directories.
Click to hide internal directories.