# Functions
AddKeyToDIDDoc takes a DID Doc, a key to add, and a signing key and its reference.
AsVerifier builds a verifier given a key definition that can be used to verify signed objects by the key in the definition.
DeactivateDIDDoc creates a deactivated DID Document.
DeactivateDIDDocGeneric creates a deactivated DID Document.
ExtractDIDFromKeyRef parses a key reference in the form of DID#keyID and returns the DID.
ExtractEdPublicKeyFromDID extracts an Ed25519 Public Key from a DID Key.
GenerateDID generates a Decentralized ID in the form of "did:work:<id>" based on an Ed25519 public key.
GenerateDIDFromB64PubKey converts a base64 encoded Ed25519 public key into a Decentralized ID.
GenerateDIDKey generates a non-registry based Decentralized DID in the form of "did:key:<id>" based on an Ed25519 public key.
GenerateDIDKeyFromB64PubKey converts a base64 encoded Ed25519 public key into a DID Key.
GenerateKeyID builds a fully qualified key reference given a DID and a key fragment.
No description provided by the author
No description provided by the author
GetProofCreatorKeyDef returns the Key Definition that can be used to verify the Proof on the given DID Document.
# Constants
AdminDIDKey the key for ledger value of admin did.
No description provided by the author
InitialKey the key reference assigned to the first key in a DID Doc.
No description provided by the author
No description provided by the author
https://tools.ietf.org/html/rfc8037#appendix-A.2.
SchemaContext is the JSON-LD @context value that points to the W3C DID v1 context.
No description provided by the author
# Structs
Struct to contain identifier for an Admin DID.
CredentialDefinition JSON Schema Represents an identity that binds an issuer to a schema that allows specific issuance.
DIDDoc a W3C compliant signed DID Document.
No description provided by the author
KeyDef represents a DID public key (also known as Verification Method).
KeyRef is either a string or an embedded KeyDef.
No description provided by the author
# Type aliases
DID is a Decentralized Identifier conforming to https://www.w3.org/TR/did-core/#did-syntax.
StringOrArray is a string or an ordered set of strings.
URI is a string conforming to https://tools.ietf.org/html/rfc3986.