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;
65 ASN1_OCTET_STRING* mMappingData;
74 void parseDynamicAuthenticationData();
75 QByteArray mMappingData;
91 ASN1_OCTET_STRING* mEphemeralPublicKey;
100 void parseDynamicAuthenticationData();
101 QByteArray mEphemeralPublicKey;
119 ASN1_OCTET_STRING* mAuthenticationToken;
120 ASN1_OCTET_STRING* mCarCurr;
121 ASN1_OCTET_STRING* mCarPrev;
130 void parseDynamicAuthenticationData();
131 QByteArray mAuthenticationToken;
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;
#define DECLARE_ASN1_OBJECT(name)
Definition ASN1TemplateUtil.h:173
GAChipAuthenticationResponse(const ResponseApdu &pResponseApdu)
Definition GeneralAuthenticateResponse.cpp:309
const QByteArray & getAuthenticationToken() const
Definition GeneralAuthenticateResponse.cpp:327
const QByteArray & getNonce() const
Definition GeneralAuthenticateResponse.cpp:321
const QByteArray & getEncryptedNonce() const
Definition GeneralAuthenticateResponse.cpp:100
GAEncryptedNonceResponse(const ResponseApdu &pResponseApdu)
Definition GeneralAuthenticateResponse.cpp:89
const QByteArray & getMappingData() const
Definition GeneralAuthenticateResponse.cpp:149
GAMapNonceResponse(const ResponseApdu &pResponseApdu)
Definition GeneralAuthenticateResponse.cpp:138
GAMutualAuthenticationResponse(const ResponseApdu &pResponseApdu)
Definition GeneralAuthenticateResponse.cpp:243
const QByteArray & getCarPrev() const
Definition GeneralAuthenticateResponse.cpp:268
const QByteArray & getCarCurr() const
Definition GeneralAuthenticateResponse.cpp:262
const QByteArray & getAuthenticationToken() const
Definition GeneralAuthenticateResponse.cpp:256
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