# Packages
No description provided by the author
# Functions
DIDContextV1URI returns DIDContextV1 as a URI.
MustParseDID is like ParseDID but panics if the string cannot be parsed.
MustParseDIDURL is like ParseDIDURL but panics if the string cannot be parsed.
NewVerificationMethod is a convenience method to easily create verificationMethods based on a set of given params.
ParseDID parses a raw DID.
ParseDIDURL parses a DID URL.
ParseDocument parses a DID Document from a string.
# Constants
DeactivatedErr indicates: The DID supplied to the DID resolution function has been deactivated.
DIDContextV1 contains the JSON-LD context for a DID Document.
InvalidDIDErr indicates: "The DID supplied to the DID resolution function does not conform to valid syntax.
NotFoundErr indicates: "The DID resolver was unable to find the DID document resulting from this resolution request.".
# Variables
ErrDIDDocumentInvalid indicates DID Document validation failed.
ErrInvalidAssertionMethod indicates the assertion method is invalid (e.g.
ErrInvalidAuthentication indicates the authentication is invalid (e.g.
ErrInvalidCapabilityDelegation indicates the capabilityDelegation is invalid (e.g.
ErrInvalidCapabilityInvocation indicates the capabilityInvocation is invalid (e.g.
ErrInvalidContext indicates the DID Document's `@context` is invalid.
ErrInvalidController indicates the DID Document's `controller` is invalid.
ErrInvalidDID is returned when a parser function is supplied with a string that can't be parsed as DID.
ErrInvalidID indicates the DID Document's `id` is invalid.
ErrInvalidKeyAgreement indicates the keyAgreement is invalid (e.g.
ErrInvalidService indicates the service is invalid (e.g.
ErrInvalidVerificationMethod indicates the verificationMethod is invalid (e.g.
# Structs
DID represent a Decentralized Identifier as specified by the DID Core specification (https://www.w3.org/TR/did-core/#identifier).
No description provided by the author
Document represents a DID Document as specified by the DID Core specification (https://www.w3.org/TR/did-core/).
DocumentMedata represents DID Document Metadata as specified by the DID Core specification (https://www.w3.org/TR/did-core/#did-document-metadata-properties).
MultiValidator is a validator that executes zero or more validators.
ParserError is used when returning DID-parsing related errors.
Service represents a DID Service as specified by the DID Core specification (https://www.w3.org/TR/did-core/#service-endpoints).
VerificationMethod represents a DID Verification Method as specified by the DID Core specification (https://www.w3.org/TR/did-core/#verification-methods).
VerificationRelationship represents the usage of a VerificationMethod e.g.
W3CSpecValidator validates a DID document according to the W3C DID Core Data Model specification (https://www.w3.org/TR/did-core/).
# Type aliases
No description provided by the author
No description provided by the author