Skip to content
Sur cette page

saveIdentityFromPassword

fun saveIdentityFromPassword(userId: String, password: String, identity: ByteArray)

Save the given identity for the given userId, encrypted with the given password.

Parameters

userIdThe ID of the userId.
passwordThe password to encrypt the key.
identityThe identity to save.

Throws

Exception