AusweisApp2
|
#include <Apdu.h>
Öffentliche Methoden | |
CommandApdu (const QByteArray &pBuffer, bool pUpdateRetryCounter=false) | |
CommandApdu (const QByteArray &pHeader, const QByteArray &pData, int pLe) | |
CommandApdu (char pCla, char pIns, char pP1, char pP2, const QByteArray &pData=QByteArray(), int pLe=NO_LE) | |
virtual | ~CommandApdu () |
char | getCLA () const |
char | getINS () const |
char | getP1 () const |
char | getP2 () const |
int | getLc () const |
int | getLe () const |
QByteArray | getData () const |
bool | isUpdateRetryCounter () const |
![]() | |
const QByteArray & | getBuffer () const |
int | length () const |
Öffentliche, statische Methoden | |
static bool | isExtendedLength (const QByteArray &pData, int pLe) |
static bool | isSecureMessaging (const QByteArray &pCommandBuffer) |
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 |
CommandApdu::CommandApdu | ( | const QByteArray & | pBuffer, |
bool | pUpdateRetryCounter = false |
||
) |
CommandApdu::CommandApdu | ( | const QByteArray & | pHeader, |
const QByteArray & | pData, | ||
int | pLe | ||
) |
CommandApdu::CommandApdu | ( | char | pCla, |
char | pIns, | ||
char | pP1, | ||
char | pP2, | ||
const QByteArray & | pData = QByteArray() , |
||
int | pLe = NO_LE |
||
) |
|
virtual |
char CommandApdu::getCLA | ( | ) | const |
QByteArray CommandApdu::getData | ( | ) | const |
char CommandApdu::getINS | ( | ) | const |
int CommandApdu::getLc | ( | ) | const |
int CommandApdu::getLe | ( | ) | const |
char CommandApdu::getP1 | ( | ) | const |
char CommandApdu::getP2 | ( | ) | const |
|
static |
|
static |
bool CommandApdu::isUpdateRetryCounter | ( | ) | const |