4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-12 02:39:34 +00:00

Implement bitSize for RSA.

svn path=/trunk/kdesupport/qca/; revision=422366
This commit is contained in:
Brad Hards 2005-06-05 09:17:53 +00:00
parent f963f254c8
commit d8a26a3215

@ -1527,7 +1527,7 @@ public:
virtual int bits() const
{
return 0; // FIXME
return 8*RSA_size(evp.pkey->pkey.rsa);
}
virtual int maximumEncryptSize(QCA::EncryptionAlgorithm alg) const