AlgorithmParameters

@Serializable
sealed class AlgorithmParameters(source)

Inheritors

Types

Link copied to clipboard
@Serializable
@SerialName(value = "EC")
class EC(val curve: ECCurve = ECCurve.SECP_256_R_1, val digests: Set<@Serializable(with = DigestSerializer::class) Digest> = setOf(curve.nativeDigest), val allowKeyAgreement: Boolean = false) : KeyConstraints.AlgorithmParameters
Link copied to clipboard
@Serializable
@SerialName(value = "RSA")
class RSA(val keySize: @Serializable(with = BitLengthSerializer::class) BitLength, val paddings: Set<RSAPadding> = setOf(RSAPadding.PSS), val digests: Set<Digest> = setOf(Digest.SHA256), val allowDecrypting: Boolean = false) : KeyConstraints.AlgorithmParameters

Properties

Link copied to clipboard
abstract val allowSigning: Boolean
Link copied to clipboard
abstract val digests: Set<Digest>

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int