|
SilentEye 0.4.1
|
#include <secryptoaes.h>
Public Member Functions | |
| SECryptoAES () | |
| ~SECryptoAES () | |
| QString | name () const |
| Plug-in name (ex: FooBar) | |
| QString | version () const |
| Plug-in version (ex: 1.2.0) | |
| QString | status () |
| Current status of the module (ex: KO|qca2-plugin-ossl missing) | |
| QString | typeSupported () const |
| Type supported (ex: BMP, JPEG, AES128, etc.) | |
| QPointer< EncodedData > | encode (QString key, QPointer< EncodedData > msg) |
| Encrypte data using a specific key. | |
| QPointer< EncodedData > | decode (QString key, QPointer< EncodedData > data) |
| Decrypte data using a specific key. | |
Private Member Functions | |
| Q_INTERFACES (SilentEyeFramework::CryptoModuleInterface) | |
| void | init () |
| QCA::SecureArray | initializationVector (QString) |
Private Attributes | |
| QPointer< Logger > | m_logger |
| bool | m_isQcaCompatible |
| QCA::SymmetricKey | m_key |
| QCA::Initializer * | m_init |
Definition at line 33 of file secryptoaes.h.
| SECryptoAES::SECryptoAES::SECryptoAES | ( | ) |
| SECryptoAES::SECryptoAES::~SECryptoAES | ( | ) |
Definition at line 30 of file secryptoaes.cpp.
| QPointer< EncodedData > SECryptoAES::SECryptoAES::decode | ( | QString | key, |
| QPointer< EncodedData > | data | ||
| ) | [virtual] |
Decrypte data using a specific key.
Implements SilentEyeFramework::CryptoModuleInterface.
Definition at line 141 of file secryptoaes.cpp.
References init(), initializationVector(), m_isQcaCompatible, m_key, and m_logger.
| QPointer< EncodedData > SECryptoAES::SECryptoAES::encode | ( | QString | key, |
| QPointer< EncodedData > | msg | ||
| ) | [virtual] |
Encrypte data using a specific key.
Implements SilentEyeFramework::CryptoModuleInterface.
Definition at line 100 of file secryptoaes.cpp.
References init(), initializationVector(), m_isQcaCompatible, m_key, and m_logger.
| void SECryptoAES::SECryptoAES::init | ( | ) | [private] |
Definition at line 37 of file secryptoaes.cpp.
References m_init, m_isQcaCompatible, m_key, m_logger, and name().
| QCA::SecureArray SECryptoAES::SECryptoAES::initializationVector | ( | QString | key | ) | [private] |
Definition at line 87 of file secryptoaes.cpp.
References m_logger.
| QString SECryptoAES::SECryptoAES::name | ( | ) | const [virtual] |
Plug-in name (ex: FooBar)
Implements SilentEyeFramework::ModuleInterface.
Definition at line 63 of file secryptoaes.cpp.
References typeSupported().
Referenced by init().
| SECryptoAES::SECryptoAES::Q_INTERFACES | ( | SilentEyeFramework::CryptoModuleInterface | ) | [private] |
| QString SECryptoAES::SECryptoAES::status | ( | ) | [virtual] |
Current status of the module (ex: KO|qca2-plugin-ossl missing)
Implements SilentEyeFramework::ModuleInterface.
Definition at line 73 of file secryptoaes.cpp.
References init(), and m_isQcaCompatible.
| QString SECryptoAES::SECryptoAES::typeSupported | ( | ) | const [virtual] |
Type supported (ex: BMP, JPEG, AES128, etc.)
Implements SilentEyeFramework::ModuleInterface.
Definition at line 82 of file secryptoaes.cpp.
Referenced by name().
| QString SECryptoAES::SECryptoAES::version | ( | ) | const [virtual] |
Plug-in version (ex: 1.2.0)
Implements SilentEyeFramework::ModuleInterface.
Definition at line 68 of file secryptoaes.cpp.
QCA::Initializer* SECryptoAES::SECryptoAES::m_init [private] |
Definition at line 42 of file secryptoaes.h.
Referenced by init(), and ~SECryptoAES().
bool SECryptoAES::SECryptoAES::m_isQcaCompatible [private] |
QCA::SymmetricKey SECryptoAES::SECryptoAES::m_key [private] |
Definition at line 41 of file secryptoaes.h.
QPointer<Logger> SECryptoAES::SECryptoAES::m_logger [private] |
Definition at line 39 of file secryptoaes.h.
Referenced by decode(), encode(), init(), initializationVector(), and ~SECryptoAES().
1.7.3