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;
57 [[nodiscard]]
const QByteArray& getEncryptedNonce()
const;
69 ASN1_OCTET_STRING* mMappingData;
78 void parseDynamicAuthenticationData();
79 QByteArray mMappingData;
83 [[nodiscard]]
const QByteArray& getMappingData()
const;
95 ASN1_OCTET_STRING* mEphemeralPublicKey;
104 void parseDynamicAuthenticationData();
105 QByteArray mEphemeralPublicKey;
109 [[nodiscard]]
const QByteArray& getEphemeralPublicKey()
const;
134 void parseDynamicAuthenticationData();
141 [[nodiscard]]
const QByteArray& getAuthenticationToken()
const;
142 [[nodiscard]]
const QByteArray& getCarCurr()
const;
143 [[nodiscard]]
const QByteArray& getCarPrev()
const;
156 ASN1_OCTET_STRING* mNonce;
166 void parseDynamicAuthenticationData();
172 [[nodiscard]]
const QByteArray& getNonce()
const;
173 [[nodiscard]]
const QByteArray& getAuthenticationToken()
const;
#define DECLARE_ASN1_OBJECT(name)
Definition ASN1TemplateUtil.h:178
Definition GeneralAuthenticateResponse.h:164
Definition GeneralAuthenticateResponse.h:50
Definition GeneralAuthenticateResponse.h:76
Definition GeneralAuthenticateResponse.h:132
Definition GeneralAuthenticateResponse.h:19
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
QByteArray getResponseData() const
Definition GeneralAuthenticateResponse.cpp:33
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16
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:43
ga_chipauthenticationdata_st { ASN1_OCTET_STRING *mNonce GA_CHIPAUTHENTICATIONDATA
According to TR-03110-3 the ASN.1 the response APDU has three protocol specific data:
Definition GeneralAuthenticateResponse.h:156
ga_mutualauthenticationdata_st { ASN1_OCTET_STRING *mAuthenticationToken GA_MUTUALAUTHENTICATIONDATA
According to TR-03110-3 the ASN.1 the response APDU has three protocol specific data:
Definition GeneralAuthenticateResponse.h:123
ASN1_OCTET_STRING * mCarCurr
Definition GeneralAuthenticateResponse.h:124
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:95
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:69
ASN1_OCTET_STRING * mCarPrev
Definition GeneralAuthenticateResponse.h:125
ASN1_OCTET_STRING * mAuthenticationToken
Definition GeneralAuthenticateResponse.h:157