ejectPrivateKey

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

clientBackupCiphertext

The client backup ciphertext, if available.

orgBackupShare

The organization backup share, if available.

backupMethod

The backup method used for ejection.

Throws

If the version is not v6, if no backup share is found, or if ejection fails.