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