generate Key With Passphrase
abstract suspend fun generateKeyWithPassphrase( keyId: String, keyName: String, passphrase: String, keySigner: KeySigner, progressListener: ProgressListener?): SsssKeyCreationInfo
Content copied to clipboard
Generates a SSSS key using the given passphrase. Use the SsssKeyCreationInfo object returned by the callback to get more information about the created key (recovery key, salt, iteration ...)
Return
key creation info
Parameters
key Id
the ID of the key
key Name
human readable key name
passphrase
The passphrase used to generate the key
key Signer
Used to add a signature to the key (client should check key signature before retrieving secret)
progress Listener
The derivation of the passphrase may take long depending on the device, use this to report progress