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 |
PublicKey |
Y |
Primary public key |
6 |
recovery |
PublicKey |
Y |
Recovery public key |
7 |
proof |
proof |
Y |
Signature |
PublicKey |
1 |
publicKey |
String |
Y |
Public key |
2 |
type |
String |
Y |
Algorithm type |
Proof |
1 |
creator |
String |
Y |
DIDs involved in the calculation of signature values |
2 |
type |
String |
Y |
Algorithm type |
3 |
signatureValue |
String |
Y |
Signature value |
Interface response parameter |
No. |
Parameter |
Type |
Description |
1 |
|
Boolean |
Return true if success, return false if failed |