Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Latest commit

 

History

History
148 lines (79 loc) · 2.5 KB

DidDocument.md

File metadata and controls

148 lines (79 loc) · 2.5 KB

MATTR Wallet SDK React Native / Exports / DidDocument

Interface: DidDocument

Interface for Decentralized Identifier Document

See

https://w3c-ccg.github.io/did-spec/#did-documents

Indexable

▪ [key: string]: any

Table of contents

Properties

Properties

@context

Readonly @context: JsonLdContext

The standard context for this DID document.

See

https://w3c-ccg.github.io/did-spec/#contexts


assertionMethod

Optional Readonly assertionMethod: readonly string[] | readonly DidDocumentPublicKey[]

Used to express assertion method

See

https://w3c.github.io/did-core/#assertion


authentication

Optional Readonly authentication: readonly (string | object)[]

Array of authentication methods.

See

https://w3c-ccg.github.io/did-spec/#authentication


created

Optional Readonly created: string

Created date time

See

https://w3c-ccg.github.io/did-spec/#created-optional


id

Readonly id: string

The DID for this DID document.

See

https://w3c-ccg.github.io/did-spec/#did-subject


keyAgreement

Optional Readonly keyAgreement: readonly unknown[]

Used to express verification relationships

See

https://w3c.github.io/did-core/#keyagreement


proof

Optional Readonly proof: DidDocumentProof

Cryptographic proof of the integrity of this DID document

See

https://w3c-ccg.github.io/did-spec/#proof-optional


service

Optional Readonly service: readonly DidDocumentService[]

Array of services associated with the DID.

See

https://w3c-ccg.github.io/did-spec/#service-endpoints


updated

Optional Readonly updated: string

Updated date time

See

https://w3c-ccg.github.io/did-spec/#updated-optional


verificationMethod

Optional Readonly verificationMethod: readonly DidDocumentPublicKey[]

Used to express verification method

See

https://w3c.github.io/did-core/#verification-methods