HMAC

data class HMAC(val digest: Digest) : SignatureAlgorithm(source)

Constructors

Link copied to clipboard
constructor(digest: Digest)

Properties

Link copied to clipboard

The digest to use

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

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.