11.4.1.5 Key Update


Function name resetDidAuth(ResetDidAuth restDidAuth)
Description If the primary private key is lost or exposed, a pair of primary public and private keys can be regenerated by the recovery private key.
Method call parameters
No. Parameter Type Required Description
1 ResetDidAuth Y
ResetDidAuth
1 did String Y DID
2 primaryKeyPair KeyPair N Primary public and private key
3 recoveryKey KeyPair Y Recovery public and private key
KeyPair
1 privateKey String Y Private Key
2 publicKey String Y Public Key
3 type String Y Algorithm
Method return parameters
No. Parameter Type Required Description
1 KeyPair Y Public and private key pair
KeyPair
1 privateKey String Y Private Key
2 publicKey String Y Public Key
3 type String Y Algorithm
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-10-31 22:36:24

results matching ""

    No results matching ""

    results matching ""

      No results matching ""