40 RSA_2048 = 2 * RSA_Base,
41 RSA_3072 = 3 * RSA_Base,
42 RSA_4096 = 4 * RSA_Base,
47 RSASSL(RSAPadding padding = PKCS1_OAEP_PADDING);
49 void *makeRawKeys()
const override;
50 Features supportedFeatures()
const override;
51 QSsl::KeyAlgorithm keyAlgorithm()
const override;
53 QByteArray signMessage(
const QByteArray &inputData,
const QByteArray &key)
const override;
54 bool checkSign(
const QByteArray &inputData,
const QByteArray &signature,
const QByteArray &key)
const override;
60 QByteArray decrypt(
const QByteArray &message,
const QByteArray &key)
override;
66 QByteArray encrypt(
const QByteArray &message,
const QByteArray &key)
override;
72 RSAPadding padding()
const;
79 void setPadding(RSAPadding newPadding);
91 void setBits(RSABits newBits);
94 int getRawOpenSSLPandingValue(RSAPadding panding);
95 int getPandingSize(RSAPadding panding);
97 RSAPadding _padding = PKCS1_OAEP_PADDING;
98 RSABits _bits = RSABits::RSA_3072;