AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
GeneralAuthenticateResponse.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
10 #include "Apdu.h"
11 
12 
13 namespace governikus
14 {
15 
16 
18  : public ResponseApdu
19 {
20  private:
21  virtual void parseDynamicAuthenticationData(const QByteArray& pDynamicAuthenticationData) = 0;
22 
23  public:
25  virtual ~GAResponseApdu() override;
26  virtual void setBuffer(const QByteArray& pBuffer) override;
27 
28 };
29 
30 
38 {
39  ASN1_OCTET_STRING* mEncryptedNonce;
42 
43 
45  : public GAResponseApdu
46 {
47  private:
48  virtual void parseDynamicAuthenticationData(const QByteArray& pDynamicAuthenticationData) override;
49  QByteArray mEncryptedNonce;
50 
51  public:
53  virtual ~GAEncryptedNonceResponse() override;
54  const QByteArray& getEncryptedNonce();
55 
56 };
57 
58 
65 typedef struct ga_mapnoncedata_st
66 {
67  ASN1_OCTET_STRING* mMappingData;
70 
71 
73  : public GAResponseApdu
74 {
75  private:
76  virtual void parseDynamicAuthenticationData(const QByteArray& pDynamicAuthenticationData) override;
77  QByteArray mMappingData;
78 
79  public:
81  virtual ~GAMapNonceResponse() override;
82  const QByteArray& getMappingData();
83 
84 };
85 
86 
94 {
95  ASN1_OCTET_STRING* mEphemeralPublicKey;
98 
99 
101  : public GAResponseApdu
102 {
103  private:
104  virtual void parseDynamicAuthenticationData(const QByteArray& pDynamicAuthenticationData) override;
105  QByteArray mEphemeralPublicKey;
106 
107  public:
109  virtual ~GAPerformKeyAgreementResponse() override;
110  const QByteArray& getEphemeralPublicKey();
111 
112 };
113 
114 
124 {
125  ASN1_OCTET_STRING* mAuthenticationToken;
126  ASN1_OCTET_STRING* mCarCurr;
127  ASN1_OCTET_STRING* mCarPrev;
130 
131 
133  : public GAResponseApdu
134 {
135  private:
136  virtual void parseDynamicAuthenticationData(const QByteArray& pDynamicAuthenticationData) override;
137  QByteArray mAuthenticationToken, mCarCurr, mCarPrev;
138 
139  public:
141  virtual ~GAMutualAuthenticationResponse() override;
142  const QByteArray& getAuthenticationToken();
143  const QByteArray& getCarCurr();
144  const QByteArray& getCarPrev();
145 
146 };
147 
148 
157 {
158  ASN1_OCTET_STRING* mNonce;
159  ASN1_OCTET_STRING* mAuthenticationToken;
162 
163 
165  : public GAResponseApdu
166 {
167  private:
168  virtual void parseDynamicAuthenticationData(const QByteArray& pDynamicAuthenticationData) override;
169  QByteArray mNonce, mAuthenticationToken;
170 
171  public:
173  virtual ~GAChipAuthenticationResponse() override;
174  const QByteArray& getNonce();
175  const QByteArray& getAuthenticationToken();
176 
177 };
178 
179 
180 } // namespace governikus
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data: ...
Definition: GeneralAuthenticateResponse.h:37
ASN1_OCTET_STRING * mEphemeralPublicKey
Definition: GeneralAuthenticateResponse.h:95
ASN1_OCTET_STRING * mAuthenticationToken
Definition: GeneralAuthenticateResponse.h:159
Definition: GeneralAuthenticateResponse.h:100
According to TR-03110-3 the ASN.1 the response APDU has three protocol specific data: ...
Definition: GeneralAuthenticateResponse.h:156
struct governikus::ga_encryptednoncedata_st GA_ENCRYPTEDNONCEDATA
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data: ...
Definition: GeneralAuthenticateResponse.h:132
Definition: GeneralAuthenticateResponse.h:164
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:126
Definition: GeneralAuthenticateResponse.h:44
struct governikus::ga_chipauthenticationdata_st GA_CHIPAUTHENTICATIONDATA
According to TR-03110-3 the ASN.1 the response APDU has three protocol specific data: ...
ASN1_OCTET_STRING * mMappingData
Definition: GeneralAuthenticateResponse.h:67
ASN1_OCTET_STRING * mAuthenticationToken
Definition: GeneralAuthenticateResponse.h:125
Definition: GeneralAuthenticateResponse.h:72
struct governikus::ga_mapnoncedata_st GA_MAPNONCEDATA
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data: ...
#define DECLARE_ASN1_OBJECT(name)
Definition: ASN1TemplateUtil.h:152
struct governikus::ga_performkeyagreementdata_st GA_PERFORMKEYAGREEMENTDATA
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data: ...
ASN1_OCTET_STRING * mCarPrev
Definition: GeneralAuthenticateResponse.h:127
Definition: GeneralAuthenticateResponse.h:17
struct governikus::ga_mutualauthenticationdata_st GA_MUTUALAUTHENTICATIONDATA
According to TR-03110-3 the ASN.1 the response APDU has three protocol specific data: ...
virtual void setBuffer(const QByteArray &pBuffer) override
Definition: GeneralAuthenticateResponse.cpp:28
GAResponseApdu()
Definition: GeneralAuthenticateResponse.cpp:17
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data: ...
Definition: GeneralAuthenticateResponse.h:93
virtual ~GAResponseApdu() override
Definition: GeneralAuthenticateResponse.cpp:23
According to TR-03110-3 the ASN.1 the response APDU has one protocol specific data: ...
Definition: GeneralAuthenticateResponse.h:65
Definition: Apdu.h:118
ASN1_OCTET_STRING * mNonce
Definition: GeneralAuthenticateResponse.h:158
ASN1_OCTET_STRING * mEncryptedNonce
Definition: GeneralAuthenticateResponse.h:39