AusweisApp
Lade ...
Suche ...
Keine Treffer
CardReturnCode.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "EnumHelper.h"
12#include "GlobalStatus.h"
13
14namespace governikus
15{
16
19 OK,
20 OK_PUK,
21 OK_CAN,
22 RESPONSE_EMPTY,
23 CARD_NOT_FOUND,
24 UNKNOWN,
25 INPUT_TIME_OUT,
26 INVALID_CAN,
27 INVALID_PASSWORD,
28 INVALID_PIN,
29 INVALID_PIN_2,
30 INVALID_PIN_3,
31 INVALID_PUK,
32 COMMAND_FAILED,
33 CANCELLATION_BY_USER,
34 NEW_PIN_MISMATCH,
35 NEW_PIN_INVALID_LENGTH,
36 PIN_BLOCKED,
37 PIN_NOT_BLOCKED,
38 PUK_INOPERATIVE,
41 UNEXPECTED_TRANSMIT_STATUS)
42
43
44class CardReturnCodeUtil
45{
46 private:
47 CardReturnCodeUtil() = default;
48
49 public:
50 static GlobalStatus toGlobalStatus(CardReturnCode pCode);
51 static bool equalsWrongPacePassword(CardReturnCode pCode);
52};
53
54} // namespace governikus
#define defineEnumTypeQmlExposed(enumName,...)
Definition EnumHelper.h:92
Definition GlobalStatus.h:22
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
UNKNOWN
Definition ResponseApdu.h:65
UNDEFINED
Definition SecurityProtocol.h:22
WRONG_LENGTH
Definition ResponseApdu.h:72