import Private Key Importer
suspend fun importPrivateKeyImporter(roomUuid: RoomUUID, threshold: Int, privateKey: PrivateKey, keygenInitKeypair: KeygenPrivateKey, keygenIds: Array<KeygenID>): Pair<Ed25519PublicKey, ExportableEd25519SecretShare>
Imports an exportable Ed25519 private key (importer).
WARNING: Private key import is an advanced feature. Shares generated from imported private keys have the risk of the private key being compromised if it's not properly deleted after the import operation.
This is the method that the importing party (the one in possession of the private key) should use to distribute shares of the private key to a threshold-of-numParties quorum.
Return
Pair of public key as a ByteArray and secret share as a String
Parameters
room Uuid
The UUID of the import room
threshold
The threshold of the new quorum (value in range 1..65535)
private Key
The private key to be imported (a hex string)
keygen Init Keypair
Contains the keygenSecret for the importing party
keygen Ids
The keygenIds of all parties that will be part of the new quorum