11.4.1.2 Verify DID Document


Function name verifyDidDocument(DidDocument didDocument)
Description Verify the content format and signature value of the offline generated DID Document.
Method call parameters
No. Parameter Type Required Description
1 DidDocument Y
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
No. Parameter Type Required Description
1 type String Y Algorithm
2 publicKey String Y Public key
Proof
No. Parameter Type Required Description
1 type String Y Algorithm
2 creator String Y DID
3 signatureValue String Y Signature value
Method return parameters
No. Parameter Type Required Description
1 Boolean Y Verification result
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-10-31 20:19:10

results matching ""

    No results matching ""

    results matching ""

      No results matching ""