PrivateKey

A raw RSA private key that provides decryption via decryptor.

Functions

Link copied to clipboard
abstract fun decryptor(): Decryptor

Returns a Decryptor that performs raw RSA decryption without padding.

Link copied to clipboard

Encodes this material into a ByteArray in the specified format.

Link copied to clipboard

Encodes this material into a ByteArray in the specified format.

Link copied to clipboard

Encodes this material into a ByteString in the specified format.

Link copied to clipboard

Encodes this material into a ByteString in the specified format.

Link copied to clipboard
open suspend fun getPublicKey(): RSA.RAW.PublicKey

Returns the associated public key.

Link copied to clipboard

Returns the associated public key.