RSA

data class RSA(val digest: Digest, val padding: RSAPadding) : SignatureAlgorithm(source)

Constructors

Link copied to clipboard
constructor(digest: Digest, padding: RSAPadding)

Properties

Link copied to clipboard

The digest to apply to the data.

Link copied to clipboard

The padding to apply to the data.

Functions

Link copied to clipboard
fun SignatureAlgorithm.getJCASignatureInstance(provider: String? = null): KmmResult<Signature>

Get a pre-configured JCA instance for this algorithm

Link copied to clipboard

Get a pre-configured JCA instance for pre-hashed data for this algorithm

Link copied to clipboard

Finds a X.509 signature algorithm matching this algorithm. Curve restrictions are not preserved.