11.2.1.4 Update Key


Interface Address /did/resetDidAuth
Description Regenerate a pair of master public and private key information from the backup public and private key information.
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 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 Algorithm
Proof
1 creator String Y DID involved in the calculation of the Signature value
2 type String Y Algorithm
3 signatureValue String Y Signature value
Interface response parameter
No. Parameter Type Description
1 KeyInfo New public key information
KeyInfo
1 publicKey String Public key
2 type String Algorithm
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-11-01 00:24:05

results matching ""

    No results matching ""

    results matching ""

      No results matching ""