Interface: Btcr2DidDocument ​
Defined in: packages/method/src/utils/did-document.ts:97
BTCR2 DID Document Interface Btcr2DidDocument
Extends ​
DidDocument
Properties ​
@context? ​
optional@context?: (string|JsonObject)[]
Defined in: packages/method/src/utils/did-document.ts:99
A 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'.
Overrides ​
W3CDidDocument.@context
alsoKnownAs? ​
optionalalsoKnownAs?:string[]
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:121
A DID subject can have multiple identifiers for different purposes, or at different times. The assertion that two or more DIDs (or other types of URI) refer to the same DID subject can be made using the alsoKnownAs property.
See ​
DID Core Specification, § Also Known As
Inherited from ​
W3CDidDocument.alsoKnownAs
assertionMethod? ​
optionalassertionMethod?: (string|DidVerificationMethod)[]
Defined in: packages/method/src/utils/did-document.ts:102
The assertion methods of the DID Document.
Overrides ​
W3CDidDocument.assertionMethod
authentication? ​
optionalauthentication?: (string|DidVerificationMethod)[]
Defined in: packages/method/src/utils/did-document.ts:101
The authentication methods of the DID Document.
Overrides ​
W3CDidDocument.authentication
capabilityDelegation? ​
optionalcapabilityDelegation?: (string|DidVerificationMethod)[]
Defined in: packages/method/src/utils/did-document.ts:104
The capability delegation methods of the DID Document.
Overrides ​
W3CDidDocument.capabilityDelegation
capabilityInvocation? ​
optionalcapabilityInvocation?: (string|DidVerificationMethod)[]
Defined in: packages/method/src/utils/did-document.ts:103
The capability invocation methods of the DID Document.
Overrides ​
W3CDidDocument.capabilityInvocation
controller? ​
optionalcontroller?:string|string[]
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:132
A DID controller is an entity that is authorized to make changes to a DID document. Typically, only the DID Subject (i.e., the value of id property in the DID document) is authoritative. However, another DID can be specified as the DID controller, and when doing so, any verification methods contained in the DID document for the other DID should be accepted as authoritative. In other words, proofs created by the controller DID should be considered equivalent to proofs created by the DID Subject.
See ​
DID Core Specification, § DID Controller
Inherited from ​
W3CDidDocument.controller
deactivated? ​
optionaldeactivated?:boolean
Defined in: packages/method/src/utils/did-document.ts:106
id ​
id:
string
Defined in: packages/method/src/utils/did-document.ts:98
The identifier of the DID Document.
Overrides ​
W3CDidDocument.id
keyAgreement? ​
optionalkeyAgreement?: (string|DidVerificationMethod)[]
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:163
The keyAgreement verification relationship is used to specify how an entity can generate encryption material in order to transmit confidential information intended for the DID subject, such as for the purposes of establishing a secure communication channel with the recipient.
See ​
DID Core Specification, § Key Agreement
Inherited from ​
W3CDidDocument.keyAgreement
service ​
service:
BeaconService[]
Defined in: packages/method/src/utils/did-document.ts:105
The services of the DID Document.
Overrides ​
W3CDidDocument.service
verificationMethod ​
verificationMethod:
DidVerificationMethod[]
Defined in: packages/method/src/utils/did-document.ts:100
The verification methods of the DID Document.
Overrides ​
W3CDidDocument.verificationMethod