gehe zur Dokumentation dieser Datei
20 :
public ASN1_OCTET_STRING {};
29 : public ASN1_OCTET_STRING {};
38 : public ASN1_OCTET_STRING {};
51 QSharedPointer<SM_ENCRYPTED_DATA> mEncryptedData;
52 QSharedPointer<SM_PROCESSING_STATUS> mProcessingStatus;
53 QSharedPointer<SM_CHECKSUM> mChecksum;
64 QByteArray getEncryptedData()
const;
69 QByteArray getEncryptedDataObjectEncoded()
const;
74 QByteArray getMac()
const;
79 StatusCode getSecuredStatusCode()
const;
84 QByteArray getSecuredStatusCodeBytes()
const;
89 QByteArray getSecuredStatusCodeObjectEncoded()
const;
94 bool isInvalid()
const;
#define DECLARE_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:169
Definition: ResponseApdu.h:84
bool isInvalid() const
Is the message structure invalid, i.e.
Definition: SecureMessagingResponse.cpp:139
StatusCode getSecuredStatusCode() const
Returns the processing status.
Definition: SecureMessagingResponse.cpp:110
Message part of the Secure Messaging response APDU containing the processing status.
Definition: SecureMessagingResponse.h:29
QByteArray getSecuredStatusCodeBytes() const
Returns the processing status bytes.
Definition: SecureMessagingResponse.cpp:127
virtual ~SecureMessagingResponse()
Definition: SecureMessagingResponse.cpp:87
Message part of the Secure Messaging response APDU containing the encrypted data.
Definition: SecureMessagingResponse.h:20
Response APDU for Secure Messaging as defined in TR-03110-3.
Definition: SecureMessagingResponse.h:48
static QByteArray getValue(ASN1_OCTET_STRING *pAsn1OctetString)
Definition: ASN1Util.cpp:65
QByteArray getEncryptedData() const
Returns the encrypted data without padding-content indicator.
Definition: SecureMessagingResponse.cpp:92
#define IMPLEMENT_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:144
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
QByteArray getEncryptedDataObjectEncoded() const
Returns the encoded ASN.1 object containing the encrypted data.
Definition: SecureMessagingResponse.cpp:98
QByteArray getSecuredStatusCodeObjectEncoded() const
Returns the encoded ASN.1 object containing the processing status.
Definition: SecureMessagingResponse.cpp:133
Message part of the Secure Messaging response APDU containing the cryptographic checksum.
Definition: SecureMessagingResponse.h:38
SecureMessagingResponse(const QByteArray &pBuffer)
Definition: SecureMessagingResponse.cpp:45
QByteArray getData() const
Definition: ResponseApdu.cpp:35
QByteArray getMac() const
Returns the cryptographic checsum.
Definition: SecureMessagingResponse.cpp:104
QByteArray encodeObject(T *pObject)
Template function for encoding an OpenSSL type as DER encoded QByteArray.
Definition: ASN1TemplateUtil.h:69
virtual void setBuffer(const QByteArray &pBuffer)
Definition: ResponseApdu.cpp:29