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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user