21 ResponseApdu mResponseApdu;
24 [[nodiscard]]
bool isValid()
const;
29 [[nodiscard]]
bool isEmpty()
const;
30 [[nodiscard]] SW1
getSW1()
const;
43 ASN1_OCTET_STRING* mEncryptedNonce;
52 void parseDynamicAuthenticationData();
53 QByteArray mEncryptedNonce;
69 ASN1_OCTET_STRING* mMappingData;
78 void parseDynamicAuthenticationData();
79 QByteArray mMappingData;
95 ASN1_OCTET_STRING* mEphemeralPublicKey;
104 void parseDynamicAuthenticationData();
105 QByteArray mEphemeralPublicKey;
123 ASN1_OCTET_STRING* mAuthenticationToken;
124 ASN1_OCTET_STRING* mCarCurr;
125 ASN1_OCTET_STRING* mCarPrev;
134 void parseDynamicAuthenticationData();
135 QByteArray mAuthenticationToken;
142 [[nodiscard]]
const QByteArray&
getCarCurr()
const;
143 [[nodiscard]]
const QByteArray&
getCarPrev()
const;
156 ASN1_OCTET_STRING* mNonce;
157 ASN1_OCTET_STRING* mAuthenticationToken;
166 void parseDynamicAuthenticationData();
168 QByteArray mAuthenticationToken;
172 [[nodiscard]]
const QByteArray&
getNonce()
const;
#define DECLARE_ASN1_OBJECT(name)
Definition ASN1TemplateUtil.h:177
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
Implementation of GeneralAuthenticate response APDUs.
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:93
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:67
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:121
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:41
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:154