supports

open suspend override fun supports(algorithm: AeadAlgorithm): Boolean(source)

Probed once per instance: an AEAD built under a zero key encrypts an empty message.


open suspend override fun supports(type: KeyType): Boolean(source)

Probed once per instance: a generated key pair, and key agreement for the Diffie-Hellman types.


open suspend override fun supports(algorithm: SignatureAlgorithm): Boolean(source)

Probed once per instance: a generated key pair signs and verifies an empty message.


open suspend override fun supports(algorithm: KemAlgorithm): Boolean(source)

Probed once per instance; this backend has no KEM, so the answer is false (a decorator may add one).


open suspend override fun supports(algorithm: HashAlgorithm): Boolean(source)

Probed once per instance: the digest, and the HMAC of a SHA-2 hash.