Skip to content

saveIdentityFromPassword

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

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

Return

The SSKS ID of the stored identity, which can be used by your backend to manage it.

Parameters

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

Throws

SealdException