importKeyPair

open suspend fun importKeyPair(type: KeyType, privateKey: ByteArray, publicKey: ByteArray): KeyPair(source)

Wraps existing key material, for static keys from configuration and fixed keys in test vectors. The default keeps the key in memory as a SoftwarePrivateKey.