RSA

@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(source)

Constructors

Link copied to clipboard
constructor(keySize: @Serializable(with = BitLengthSerializer::class) BitLength, paddings: Set<RSAPadding> = setOf(RSAPadding.PSS), digests: Set<Digest> = setOf(Digest.SHA256), allowDecrypting: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
open override val allowSigning: Boolean = true
Link copied to clipboard
open override val digests: Set<Digest>
Link copied to clipboard
val keySize: @Serializable(with = BitLengthSerializer::class) BitLength
Link copied to clipboard
val paddings: Set<RSAPadding>

Functions

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