ECDSA

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

Constructors

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

Types

Link copied to clipboard

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.

Link copied to clipboard
val SignatureAlgorithm.secKeyAlgorithm: SecKeyAlgorithm
Link copied to clipboard

Functions

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

Get a pre-configured JCA instance for this algorithm

Link copied to clipboard
fun SignatureAlgorithm.getJCASignatureInstancePreHashed(provider: String? = null): <Error class: unknown class><Signature>

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.