| Interface Address |
/did/resetDidAuth |
| Description |
The generation of the new authentication public-private key pair from the recovery public-private key information is done by the DID SDK. The interface receives new DID Document content from the user for on-chain update. |
| Interface request parameter |
| No. |
Parameter |
Type |
Required |
Description |
| 1 |
|
RestDocAuth |
Y |
Wrapper class |
| RestDocAuth |
| 1 |
didDoc |
Document |
Y |
DID Document |
| 2 |
authPubKeySign |
String |
Y |
The recovery private key performs k1 signature on the recovery public key |
| Document |
| 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 |
N |
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 |
DID involved in the calculation of the Signature value |
| 2 |
type |
String |
Y |
Algorithm type |
| 3 |
signatureValue |
String |
Y |
Signature value |
| Interface response parameter |
| No. |
Parameter |
Type |
Description |
| 1 |
|
KeyInfo |
New authentication public key information |
| PublicKey |
| 1 |
publicKey |
String |
Public key |
| 2 |
type |
String |
Algorithm type |