AusweisApp2
|
#include <SecureMessaging.h>
Öffentliche Methoden | |
SecureMessaging (const QByteArray &pPaceAlgorithm, const QByteArray &pEncKey, const QByteArray &pMacKey) | |
virtual | ~SecureMessaging () |
bool | isInitialized () |
Returns true, if initialization succeeded, i.e. Mehr ... | |
CommandApdu | encrypt (const CommandApdu &pCommandApdu) |
bool | decrypt (const ResponseApdu &pEncryptedResponseApdu, ResponseApdu &pDecryptedResponseApdu) |
SecureMessaging::SecureMessaging | ( | const QByteArray & | pPaceAlgorithm, |
const QByteArray & | pEncKey, | ||
const QByteArray & | pMacKey | ||
) |
|
virtual |
bool SecureMessaging::decrypt | ( | const ResponseApdu & | pEncryptedResponseApdu, |
ResponseApdu & | pDecryptedResponseApdu | ||
) |
CommandApdu SecureMessaging::encrypt | ( | const CommandApdu & | pCommandApdu | ) |
bool SecureMessaging::isInitialized | ( | ) |
Returns true, if initialization succeeded, i.e.
the algorithm is known, supported and the keys have correct size.