@idunion/tl-sdk / Exports / DidDocument
Interface: DidDocument
Table of contents
Properties
- @context
- assertionMethod
- authentication
- capabilityInvocation
- controller
- id
- service
- verificationMethod
Properties
@context
• @context: string[]
The JSON-LD Context is either a string or a list containing any combination of strings and/or ordered maps. https://www.w3.org/TR/did-1.0/#dfn-context
Defined in
assertionMethod
• Optional assertionMethod: string[]
The assertionMethod verification relationship is used to specify how the DID subject is expected to express claims, such as for the purposes of issuing a Verifiable Credential [VC-DATA-MODEL]. https://www.w3.org/TR/did-1.0/#assertion
Defined in
authentication
• Optional authentication: string[]
The authentication verification relationship is used to specify how the DID subject is expected to be authenticated, for purposes such as logging into a website or engaging in any sort of challenge-response protocol. https://www.w3.org/TR/did-1.0/#authentication
Defined in
capabilityInvocation
• Optional capabilityInvocation: string[]
The capabilityInvocation verification relationship is used to specify a verification method that might be used by the DID subject to invoke a cryptographic capability, such as the authorization to update the DID Document. https://www.w3.org/TR/did-1.0/#capability-invocation
Defined in
controller
• Optional controller: string[]
An entity that has the capability to make changes to a DID document. A DID might have more than one DID controller. The DID controller(s) can be denoted by the optional controller property at the top level of the DID document. Note that a DID controller might be the DID subject. https://www.w3.org/TR/did-1.0/#dfn-did-controllers
Defined in
id
• id: string
Defined in
service
• Optional service: ServiceItem[]
Defined in
verificationMethod
• Optional verificationMethod: VerificationMethod[]
The verificationMethod property is OPTIONAL. If present, the value MUST be a set of verification methods, where each verification method is expressed using a map. The verification method map MUST include the id, type, controller, and specific verification material properties that are determined by the value of type and are defined in 5.2.1 Verification Material. A verification method MAY include additional properties. Verification methods SHOULD be registered in the DID Specification Registries [DID-SPEC-REGISTRIES]. https://www.w3.org/TR/did-1.0/#verification-methods