hwsecurity-openpgp / de.cotech.hw.openpgp.util / RsaEncryptionUtil /
RsaEncryptionUtil
open class RsaEncryptionUtil
Functions
Name | Summary |
---|---|
decrypt | open fun decrypt(privateKey: PrivateKey, encryptedSecretHex: String): Array<Byte> |
encryptWithRsaPublicKey | open fun encryptWithRsaPublicKey(data: Array<Byte>, publicKey: RSAPublicKey): Array<Byte> |
generateRsa2048KeyPair | open fun generateRsa2048KeyPair(): KeyPair |