generateKeyWithPassphrase

abstract suspend fun generateKeyWithPassphrase(    keyId: String,     keyName: String,     passphrase: String,     keySigner: KeySigner,     progressListener: ProgressListener?): SsssKeyCreationInfo

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

keyId

the ID of the key

keyName

human readable key name

passphrase

The passphrase used to generate the key

keySigner

Used to add a signature to the key (client should check key signature before retrieving secret)

progressListener

The derivation of the passphrase may take long depending on the device, use this to report progress