PrivateKey

An RSA-OAEP private key that provides decryption via decryptor.

Functions

Link copied to clipboard

Returns an AuthenticatedDecryptor that decrypts data with OAEP 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.OAEP.PublicKey

Returns the associated public key.

Link copied to clipboard

Returns the associated public key.