Optional
@contextA JSON-LD context link, which provides a JSON-LD processor with the information necessary to interpret the DID document JSON. The default context URL is 'https://www.w3.org/ns/did/v1'.
Optional
assertionThe assertion methods of the DID Document.
Optional
authenticationThe authentication methods of the DID Document.
Optional
capabilityThe capability delegation methods of the DID Document.
Optional
capabilityThe capability invocation methods of the DID Document.
Optional
controllerThe controller of the DID Document.
The identifier of the DID Document.
The services of the DID Document.
The verification methods of the DID Document.
Convert the Btc1DidDocument to a JSON object.
The JSON representation of the Btc1DidDocument.
Convert the Btc1DidDocument to an IntermediateDidDocument.
The IntermediateDidDocument representation of the Btc1DidDocument.
Validate the IntermediateDidDocument.
True if the IntermediateDidDocument is valid.
Static
fromCreate a Btc1DidDocument from "x1" btc1 identifier.
The verification methods of the DID Document.
A new Btc1DidDocument.
Static
fromCreate a minimal Btc1DidDocument from "k1" btc1 identifier.
The public key in multibase format.
The beacon services to be included in the document.
A new Btc1DidDocument with the placeholder ID.
Static
isValidates a Btc1DidDocument by breaking it into modular validation methods.
The DID document to validate.
True if the DID document is valid.
Static
sanitizeSanitize the DID Document by removing undefined values
The sanitized DID Document
Static
validateValidate the DID Document
Validated DID Document.
BTC1 DID Document extends the DidDocument class adding helper methods and properties Btc1DidDocument
Implements