6#include <openssl/rsa.h>
9#include <imtcrypt/CRsaKey.h>
21 bool Encrypt(
const QByteArray& inputData,
const CRsaKey& key, QByteArray& outputData)
const;
22 bool Decrypt(
const QByteArray& inputData,
const CRsaKey& key, QByteArray& outputData)
const;
25 QByteArray GetRsaPrivateKey()
const;
26 QByteArray GetRsaPublicKey()
const;
27 bool SetRsaPrivateKey(
const QByteArray &key)
const;
28 bool SetRsaPublicKey(
const QByteArray &key)
const;
31 mutable RSA* m_rsaPublicKey;
32 mutable RSA* m_rsaPrivateKey;
33 mutable CRsaKey m_rsaKey;
Cryptography and Encryption Services Module.