RSA

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