eject Private Key
open suspend fun ejectPrivateKey(clientBackupCiphertext: String? = null, orgBackupShare: String? = null, backupMethod: BackupMethods): String
Ejects the private key from the MPC storage using the provided backup method.
Return
The extracted private key as a string.
Parameters
client Backup Ciphertext
The client backup ciphertext, if available.
org Backup Share
The organization backup share, if available.
backup Method
The backup method used for ejection.
Throws
If the version is not v6
, if no backup share is found, or if ejection fails.