AusweisApp
Lade ...
Suche ...
Keine Treffer
EstablishPaceChannelCode.h
gehe zur Dokumentation dieser Datei
1
5
#pragma once
6
7
#include "
EnumHelper.h
"
8
9
10
namespace
governikus
11
{
12
13
//
14
// EstablishPaceChannel error codes according to TR-03119, D.1.2
15
//
16
defineTypedEnumType
(
EstablishPaceChannelErrorCode
,
quint32
,
17
NoError
18
= 0x00000000,
19
20
// Error in input data
21
InconsistentLengthsInInput
22
= 0xD0000001,
23
UnexpectedDataInInput
24
= 0xD0000002,
25
UnexpectedCombinationOfDataInInput
26
= 0xD0000003,
27
28
// Errors during protocol execution
29
SyntaxErrorInTLVResponse
30
= 0xE0000001,
31
UnexpectedOrMissingObjectInTLVResponse
32
= 0xE0000002,
33
UnknownPasswordID
34
= 0xE0000003,
35
WrongAuthenticationToken
36
= 0xE0000006,
37
CertificateChainForTerminalAuthenticationCannotBeBuilt
38
= 0xE0000007,
39
UnexpectedDataStructureInResponseToChipAuthentication
40
= 0xE0000008,
41
PassiveAuthenticationFailed
42
= 0xE0000009,
43
IncorrectTokenForChipAuthentication
44
= 0xE000000A,
45
46
// Response APDU of the card reports error (status code SW1SW2)
47
// Select EF.CardAccess
48
// 0xF000SW1SW2
49
// Read Binary EF.CardAccess
50
// 0xF001SW1SW2
51
// MSE: Set AT for PACE
52
// 0xF002SW1SW2
53
// General Authenticate Step 1 - 4
54
// 0xF003SW1SW2 - 0xF006SW1SW2
55
56
// A specific case with "SW1 == 0x63 == warning" and a "dummy SW2".
57
GeneralAuthenticateStep1_4_Warning
58
= 0xF0066300,
59
60
// APDU created by PCD for terminal/chip authentication reports error (status code SW1SW2)
61
// MSE: Set DST (first certificate)
62
// 0xF800SW1SW2
63
// PSO: Verify Certificate (first certificate)
64
// 0xF801SW1SW2
65
// MSE: Set DST (second certificate)
66
// 0xF802SW1SW2
67
// PSO: Verify Certificate (second certificate)
68
// 0xF803SW1SW2
69
// MSE: Set DST (third certificate)
70
// 0xF804SW1SW2
71
// PSO: Verify Certificate (third certificate)
72
// 0xF805SW1SW2
73
// MSE: Set AT for terminal authentication
74
// 0xF806SW1SW2
75
// Get Challenge
76
// 0xF807SW1SW2
77
// External Authenticate
78
// 0xF808SW1SW2
79
// Select EF.CardSecurity
80
// 0xF809SW1SW2
81
// Read Binary EF.CardSecurity
82
// 0xF80ASW1SW2
83
// MSE: Set AT for chip authentication
84
// 0xF80BSW1SW2
85
// General Authenticate
86
// 0xF80CSW1SW2
87
88
// Others
89
CommunicationAbort
90
= 0xF0100001,
91
NoCard
92
= 0xF0100002,
93
Abort
94
= 0xF0200001,
95
Timeout
96
= 0xF0200002,
97
NoActivePinSet
98
= 0xF0200003
99
)
100
101
102
}
// namespace governikus
EnumHelper.h
defineTypedEnumType
#define defineTypedEnumType(enumName, enumType,...)
Definition
EnumHelper.h:80
governikus
Defines the AccessRight and AccessRole enum.
Definition
CommandApdu.h:17
governikus::decodeObject
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition
ASN1TemplateUtil.h:112
src
card
base
pace
EstablishPaceChannelCode.h
Erzeugt von
1.10.0