11.2.1.1 Verify DID Document API


Interface Address /did/verifyDoc
Description Verify the content format and signature value of the offline generated DID Document.
Interface request parameter
No. Parameter Type Required Description
1 VerifyDocumentReq Y Wrapper class
VerifyDocumentReq
1 didDoc DidDocument Y DID Document
DidDocument
1 did String Y DID
2 version String Y Version
3 created String Y Created date
4 updated String Y Updated date
5 authentication KeyInfo Y Primary public key
6 recovery KeyInfo Y Recovery public key
7 proof proof Y Signature
KeyInfo
1 publicKey String Y Public key
2 type String Y Encryption algorithm
Proof
1 creator String Y DIDs involved in the calculation of signature values
2 type String Y Algorithm
3 signatureValue String Y Signature value
Interface response parameter
No. Parameter Type Description
1 Boolean Return true if success, return false if failed
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-10-31 20:30:30

results matching ""

    No results matching ""

    results matching ""

      No results matching ""