17 ResponseApdu mResponseApdu;
20 [[nodiscard]]
bool isValid()
const;
25 [[nodiscard]]
bool isEmpty()
const;
26 [[nodiscard]] SW1
getSW1()
const;
39 ASN1_OCTET_STRING* mEncryptedNonce;
48 void parseDynamicAuthenticationData();
49 QByteArray mEncryptedNonce;
53 [[nodiscard]]
const QByteArray& getEncryptedNonce()
const;
65 ASN1_OCTET_STRING* mMappingData;
74 void parseDynamicAuthenticationData();
75 QByteArray mMappingData;
79 [[nodiscard]]
const QByteArray& getMappingData()
const;
91 ASN1_OCTET_STRING* mEphemeralPublicKey;
100 void parseDynamicAuthenticationData();
101 QByteArray mEphemeralPublicKey;
105 [[nodiscard]]
const QByteArray& getEphemeralPublicKey()
const;
119 ASN1_OCTET_STRING* mAuthenticationToken;
120 ASN1_OCTET_STRING* mCarCurr;
121 ASN1_OCTET_STRING* mCarPrev;
130 void parseDynamicAuthenticationData();
131 QByteArray mAuthenticationToken;
137 [[nodiscard]]
const QByteArray& getAuthenticationToken()
const;
138 [[nodiscard]]
const QByteArray& getCarCurr()
const;
139 [[nodiscard]]
const QByteArray& getCarPrev()
const;
152 ASN1_OCTET_STRING* mNonce;
153 ASN1_OCTET_STRING* mAuthenticationToken;
162 void parseDynamicAuthenticationData();
164 QByteArray mAuthenticationToken;
168 [[nodiscard]]
const QByteArray& getNonce()
const;
169 [[nodiscard]]
const QByteArray& getAuthenticationToken()
const;
#define DECLARE_ASN1_OBJECT(name)
Definition ASN1TemplateUtil.h:173
Definition GeneralAuthenticateResponse.h:160
Definition GeneralAuthenticateResponse.h:46
Definition GeneralAuthenticateResponse.h:72
Definition GeneralAuthenticateResponse.h:128
Definition GeneralAuthenticateResponse.h:15
int getRetryCounter() const
Definition GeneralAuthenticateResponse.cpp:51
SW1 getSW1() const
Definition GeneralAuthenticateResponse.cpp:45
bool isEmpty() const
Definition GeneralAuthenticateResponse.cpp:39
bool isValid() const
Definition GeneralAuthenticateResponse.cpp:27
GAResponseApdu(const ResponseApdu &pResponseApdu)
Definition GeneralAuthenticateResponse.cpp:17
QByteArray getResponseData() const
Definition GeneralAuthenticateResponse.cpp:33
Defines the AccessRight and AccessRole enum.
Definition CommandApdu.h:17
struct ga_performkeyagreementdata_st { ASN1_OCTET_STRING *mEphemeralPublicKey;} GA_PERFORMKEYAGREEMENTDATA
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data:
Definition GeneralAuthenticateResponse.h:89
struct ga_mapnoncedata_st { ASN1_OCTET_STRING *mMappingData;} GA_MAPNONCEDATA
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data:
Definition GeneralAuthenticateResponse.h:63
struct ga_mutualauthenticationdata_st { ASN1_OCTET_STRING *mAuthenticationToken; ASN1_OCTET_STRING *mCarCurr; ASN1_OCTET_STRING *mCarPrev;} GA_MUTUALAUTHENTICATIONDATA
According to TR-03110-3 the ASN.1 the response APDU has three protocol specific data:
Definition GeneralAuthenticateResponse.h:117
struct ga_encryptednoncedata_st { ASN1_OCTET_STRING *mEncryptedNonce;} GA_ENCRYPTEDNONCEDATA
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data:
Definition GeneralAuthenticateResponse.h:37
struct ga_chipauthenticationdata_st { ASN1_OCTET_STRING *mNonce; ASN1_OCTET_STRING *mAuthenticationToken;} GA_CHIPAUTHENTICATIONDATA
According to TR-03110-3 the ASN.1 the response APDU has three protocol specific data:
Definition GeneralAuthenticateResponse.h:150