10.2.1.5 Update Key


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
© 2019-2024 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2024-10-18 14:57:56

results matching ""

    No results matching ""

    results matching ""

      No results matching ""