11.4.1.4 Get DID Document


Function name getDidDocument(String did)
Description The information in the DID Document is a record and description of the DID identity, so anyone can query the corresponding DID Document on the chain through the DID. can be used to verify the DID identity and obtain the DID public key.
Method call parameters
No. Parameter Type Required Description
1 did String Y DID
Method return parameters
No. Parameter Type Required Description
1 didDocument DidDocument Y DID Document
DidDocument
No. Parameter Type Required Description
1 did String Y DID
2 version String Y Version
3 created String Y Created date
4 updated String Y Updated date
5 authentication PublicKey Y Primary public key
6 recovery PublicKey Y Recovery public key
7 proof Proof Y Signature
PublicKey
1 type String Y Algorithm
2 publicKey String Y Public key
Proof
1 type String Y Algorithm
2 creator String Y DID
3 signatureValue String Y Signature value
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-10-31 21:31:09

results matching ""

    No results matching ""

    results matching ""

      No results matching ""