AusweisApp
Lade ...
Suche ...
Keine Treffer
eid_applet_results.h
gehe zur Dokumentation dieser Datei
1/*
2 * Copyright (C) 2023 by Bundesdruckerei GmbH and Governikus GmbH & Co. KG
3 * Licensed under the EUPL-1.2
4 *
5 * v0.23.0
6 */
7
8#pragma once
9
10#include <string>
11
12
16enum class EidStatus : int {
21 NO_PROVISIONING = 0x0100020,
28 NO_PERSONALIZATION = 0x0100030,
36 UNUSABLE = 0x0100050,
43 PERSONALIZED = 0x0300010,
49 CERT_EXPIRED = 0x0100060,
52 INTERNAL_ERROR = 0x1100000
53};
54
58enum class EidSupportStatus : int {
63 UNAVAILABLE = 0x0400010,
69 AVAILABLE = 0x0400020,
76 UP_TO_DATE = 0x0400040,
86 UPDATE_AVAILABLE = 0x0400030,
89 INTERNAL_ERROR = 0x2100000
90};
91
92enum class EidServiceResult : int {
93 SUCCESS = 0x00000000,
94 UNDEFINED = 0x30000000,
95 INFO = 0x31000000,
96 WARN = 0x32000000,
97 ERROR = 0x33000000,
98 UNSUPPORTED = 0x34000000,
99 OVERLOAD_PROTECTION = 0x35000000,
100 UNDER_MAINTENANCE = 0x36000000,
101 NFC_NOT_ACTIVATED = 0x37000000,
102 INTEGRITY_CHECK_FAILED = 0x38000000,
103 NOT_AUTHENTICATED = 0x39000000,
104 NETWORK_CONNECTION_ERROR = 0x40000000
105};
106
107enum class SmartEidType : int {
108 UNKNOWN = 0x02000010,
109 APPLET = 0x02000020,
110 NON_APPLET = 0x02000030
111};
112
119 const std::string& basicString = "")
120 : mResult(result), mData(basicString) {
121 }
122
123
125 std::string mData;
126};
127
142
149 const std::string& preparePersonalizationData = "")
150 : mResult(result), mPreparePersonalizationData(preparePersonalizationData) {
151 }
152
153
156};
157
164 const std::string& initPIN = "")
165 : mResult(result), mInitPIN(initPIN) {
166 }
167
168
170 std::string mInitPIN;
171};
172
180 const std::string& challengeType = "",
181 const std::string& libVersionName = "")
182 : mResult(result), mType(type), mChallengeType(challengeType), mLibVersionName(libVersionName) {
183 }
184
185
188 std::string mChallengeType;
189 std::string mLibVersionName;
190};
191
202
EidServiceResult
Definition eid_applet_results.h:92
EidStatus
Definition eid_applet_results.h:16
@ NO_PERSONALIZATION
SmartEidType
Definition eid_applet_results.h:107
EidSupportStatus
Definition eid_applet_results.h:58
Definition eid_applet_results.h:131
EidServiceResult mResult
Definition eid_applet_results.h:139
EidSupportStatusResult(EidServiceResult result=EidServiceResult::UNDEFINED, EidSupportStatus status=EidSupportStatus::INTERNAL_ERROR)
Definition eid_applet_results.h:132
EidSupportStatus mStatus
Definition eid_applet_results.h:140
Definition eid_applet_results.h:116
EidServiceResult mResult
Definition eid_applet_results.h:124
GenericDataResult(EidServiceResult result=EidServiceResult::UNDEFINED, const std::string &basicString="")
Definition eid_applet_results.h:117
std::string mData
Definition eid_applet_results.h:125
Definition eid_applet_results.h:146
InitializeResult(EidServiceResult result=EidServiceResult::UNDEFINED, const std::string &preparePersonalizationData="")
Definition eid_applet_results.h:147
EidServiceResult mResult
Definition eid_applet_results.h:154
std::string mPreparePersonalizationData
Definition eid_applet_results.h:155
Definition eid_applet_results.h:161
std::string mInitPIN
Definition eid_applet_results.h:170
PersonalizationResult(EidServiceResult result=EidServiceResult::UNDEFINED, const std::string &initPIN="")
Definition eid_applet_results.h:162
EidServiceResult mResult
Definition eid_applet_results.h:169
Definition eid_applet_results.h:196
EidServiceResult mResult
Definition eid_applet_results.h:197
std::string mIdIcc
Definition eid_applet_results.h:200
std::string mCertificationAuthorityReference
Definition eid_applet_results.h:198
std::string mEfCardAccess
Definition eid_applet_results.h:199
Definition eid_applet_results.h:176
SmartEidType mType
Definition eid_applet_results.h:187
ServiceInformationResult(EidServiceResult result=EidServiceResult::UNDEFINED, SmartEidType type=SmartEidType::UNKNOWN, const std::string &challengeType="", const std::string &libVersionName="")
Definition eid_applet_results.h:177
std::string mLibVersionName
Definition eid_applet_results.h:189
EidServiceResult mResult
Definition eid_applet_results.h:186
std::string mChallengeType
Definition eid_applet_results.h:188
Definition eid_applet_results.h:207
std::string mNonce
Definition eid_applet_results.h:211
std::string mEfCardSecurity
Definition eid_applet_results.h:209
std::string mAuthenticationToken
Definition eid_applet_results.h:210
EidServiceResult mResult
Definition eid_applet_results.h:208