PrivateKey

An RSA-PSS private key that provides signature generation via signatureGenerator.

Functions

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.PSS.PublicKey

Returns the associated public key.

Link copied to clipboard

Returns the associated public key.

Link copied to clipboard

Returns a SignatureGenerator using a salt size equal to the digest output size.

Returns a SignatureGenerator using the given saltSize.