25 :
public ASN1_OCTET_STRING {};
34 quint32 mSendSequenceCounter;
36 QByteArray padToCipherBlockSize(
const QByteArray& pData)
const;
37 QByteArray unpadFromCipherBlockSize(
const QByteArray& pData)
const;
38 QByteArray createSecuredHeader(
const CommandApdu& pCommandApdu)
const;
39 QByteArray createMac(
const QByteArray& pSecuredHeader,
const QByteArray& pFormattedEncryptedData,
const QByteArray& pSecuredLe);
40 int createNewLe(
const QByteArray& pSecuredData,
int pOldLe)
const;
41 QByteArray getSendSequenceCounter()
const;
42 QByteArray getEncryptedIv();
44 QByteArray createSecuredLe(
int pLe);
47 SecureMessaging(
const QByteArray& pPaceAlgorithm,
const QByteArray& pEncKey,
const QByteArray& pMacKey);
48 virtual ~SecureMessaging();
Definition: CipherMac.h:15
Message part of the Secure Messaging command APDU containing the expected length. ...
Definition: SecureMessaging.h:24
Definition: SymmetricCipher.h:15
#define DECLARE_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:152
Definition: SecureMessaging.h:29