ECDSA

data class ECDSA(val digest: Digest?, val requiredCurve: ECCurve?) : SignatureAlgorithm(source)

Constructors

Link copied to clipboard
constructor(digest: Digest?, requiredCurve: ECCurve?)

Properties

Link copied to clipboard

The digest to apply to the data, or null to directly process the raw data.

Link copied to clipboard

Whether this algorithm specifies a particular curve to use, or null for any curve.

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.