AusweisApp2
|
Response APDU for Secure Messaging as defined in TR-03110-3. Mehr ...
#include <SecureMessagingResponse.h>
Öffentliche Methoden | |
SecureMessagingResponse (const QByteArray &pBuffer) | |
virtual | ~SecureMessagingResponse () |
QByteArray | getEncryptedData () const |
Returns the encrypted data without padding-content indicator. Mehr ... | |
QByteArray | getEncryptedDataObjectEncoded () const |
Returns the encoded ASN.1 object containing the encrypted data. Mehr ... | |
QByteArray | getMac () const |
Returns the cryptographic checsum. Mehr ... | |
StatusCode | getSecuredStatusCode () const |
Returns the processing status. Mehr ... | |
QByteArray | getSecuredStatusCodeBytes () const |
Returns the processing status bytes. Mehr ... | |
QByteArray | getSecuredStatusCodeObjectEncoded () const |
Returns the encoded ASN.1 object containing the processing status. Mehr ... | |
bool | isInvalid () const |
Is the message structure invalid, i.e. Mehr ... | |
![]() | |
ResponseApdu (StatusCode pStatusCode) | |
ResponseApdu (const QByteArray &pBuffer=QByteArray()) | |
virtual | ~ResponseApdu () |
virtual void | setBuffer (const QByteArray &pBuffer) |
QByteArray | getData () const |
int | getDataLength () const |
StatusCode | getReturnCode () const |
QByteArray | getReturnCodeAsHex () const |
int | getRetryCounter () const |
SW1 | getSW1 () const |
char | getSW2 () const |
CardReturnCode | getCardReturnCode () const |
![]() | |
const QByteArray & | getBuffer () const |
int | length () const |
Weitere Geerbte Elemente | |
![]() | |
static const int | NO_LE = 0 |
static const int | SHORT_MAX_LC = 0xff |
static const int | SHORT_MAX_LE = 0x0100 |
static const int | EXTENDED_MAX_LC = 0x00ffff |
static const int | EXTENDED_MAX_LE = 0x010000 |
static const char | CLA = 0x00 |
static const char | CLA_COMMAND_CHAINING = 0x10 |
static const char | CLA_SECURE_MESSAGING = 0x0c |
![]() | |
Apdu (const QByteArray &pBuffer) | |
virtual | ~Apdu () |
![]() | |
QByteArray | mBuffer |
Response APDU for Secure Messaging as defined in TR-03110-3.
SecureMessagingResponse::SecureMessagingResponse | ( | const QByteArray & | pBuffer | ) |
|
virtual |
QByteArray SecureMessagingResponse::getEncryptedData | ( | ) | const |
Returns the encrypted data without padding-content indicator.
QByteArray SecureMessagingResponse::getEncryptedDataObjectEncoded | ( | ) | const |
Returns the encoded ASN.1 object containing the encrypted data.
QByteArray SecureMessagingResponse::getMac | ( | ) | const |
Returns the cryptographic checsum.
StatusCode SecureMessagingResponse::getSecuredStatusCode | ( | ) | const |
Returns the processing status.
QByteArray SecureMessagingResponse::getSecuredStatusCodeBytes | ( | ) | const |
Returns the processing status bytes.
QByteArray SecureMessagingResponse::getSecuredStatusCodeObjectEncoded | ( | ) | const |
Returns the encoded ASN.1 object containing the processing status.
bool SecureMessagingResponse::isInvalid | ( | ) | const |
Is the message structure invalid, i.e.
is the message syntactically invalid?