class Document DID document. Constructors new Document(document: object) Properties readonly id: DID Methods free(): void getEd25519VerificationMethod(id: DIDURL): PublicEd25519 getSecp256r1VerificationMethod(id: DIDURL): PublicSecp256r1 getX25519VerificationMethod(id: DIDURL): PublicX25519 toJSON(): object Serialize the current document as an object. verificationMethods(): VerificationMethods Static Methods resolve(did: DID,options?: object | null,): Promise<Document>