retrieveIdentityFromPassword
fun retrieveIdentityFromPassword(userId: String, password: String): ByteArray
Retrieve the identity stored on the SSKS server for the given userId, and decrypt it with the given password.
If you use an incorrect password multiple times, the server may throttle your requests. In this case, you will receive an error Request throttled, retry after {N}s
, with {N}
the number of seconds during which you cannot try again.
Return
The clear identity as ByteArray.
Parameters
userId | The ID of the userId. |
password | The password to decrypt the key. |
Throws
SealdException |