AusweisApp
|
#include <SecureMessaging.h>
Öffentliche Methoden | |
SecureMessaging (const SecurityProtocol &pSecurityProtocol, const QByteArray &pEncKey, const QByteArray &pMacKey) | |
~SecureMessaging ()=default | |
bool | isInitialized () const |
Returns true, if initialization succeeded, i.e. | |
CommandApdu | encrypt (const CommandApdu &pCommandApdu) |
CommandApdu | decrypt (const CommandApdu &pEncryptedCommandApdu) |
ResponseApdu | encrypt (const ResponseApdu &pResponseApdu) |
ResponseApdu | decrypt (const ResponseApdu &pEncryptedResponseApdu) |
SecureMessaging::SecureMessaging | ( | const SecurityProtocol & | pSecurityProtocol, |
const QByteArray & | pEncKey, | ||
const QByteArray & | pMacKey ) |
|
default |
CommandApdu SecureMessaging::decrypt | ( | const CommandApdu & | pEncryptedCommandApdu | ) |
ResponseApdu SecureMessaging::decrypt | ( | const ResponseApdu & | pEncryptedResponseApdu | ) |
CommandApdu SecureMessaging::encrypt | ( | const CommandApdu & | pCommandApdu | ) |
ResponseApdu SecureMessaging::encrypt | ( | const ResponseApdu & | pResponseApdu | ) |
bool SecureMessaging::isInitialized | ( | ) | const |
Returns true, if initialization succeeded, i.e.
the algorithm is known, supported and the keys have correct size.