Longfellow ZK
0290cb32
Loading...
Searching...
No Matches
lib
circuits
mdoc
mdoc_attribute_ids.h
1
// Copyright 2025 Google LLC.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef PRIVACY_PROOFS_ZK_LIB_CIRCUITS_MDOC_MDOC_ATTRIBUTE_IDS_H_
16
#define PRIVACY_PROOFS_ZK_LIB_CIRCUITS_MDOC_MDOC_ATTRIBUTE_IDS_H_
17
18
#include <string_view>
19
20
namespace
proofs {
21
22
struct
MdocAttribute
{
23
std::string_view identifier;
24
std::string_view documentspec;
25
};
26
27
// Extracted from
28
// https://github.com/ISOWG10/ISO-18013/blob/main/Working%20Documents/Working%20Draft%20WG%2010_N2549_ISO-IEC%2018013-5-%20Personal%20identification%20%E2%80%94%20ISO-compliant%20driving%20licence%20%E2%80%94%20Part%205-%20Mobile%20driving%20lic.pdf
29
// https://www.aamva.org/getmedia/bb4fee66-592d-4d39-813a-8fdfd910268a/MobileDLGuidelines1-5.pdf
30
constexpr
MdocAttribute
kMdocAttributes[] = {
31
{
"family_name"
,
"org.iso.18013.5.1"
},
32
{
"given_name"
,
"org.iso.18013.5.1"
},
33
{
"birth_date"
,
"org.iso.18013.5.1"
},
34
{
"issue_date"
,
"org.iso.18013.5.1"
},
35
{
"expiry_date"
,
"org.iso.18013.5.1"
},
36
{
"issuing_country"
,
"org.iso.18013.5.1"
},
37
{
"issuing_authority"
,
"org.iso.18013.5.1"
},
38
{
"document_number"
,
"org.iso.18013.5.1"
},
39
{
"portrait"
,
"org.iso.18013.5.1"
},
40
{
"driving_privileges"
,
"org.iso.18013.5.1"
},
41
{
"un_distinguishing_sign"
,
"org.iso.18013.5.1"
},
42
{
"administrative_number"
,
"org.iso.18013.5.1"
},
43
{
"sex"
,
"org.iso.18013.5.1"
},
44
{
"height"
,
"org.iso.18013.5.1"
},
45
{
"weight"
,
"org.iso.18013.5.1"
},
46
{
"eye_colour"
,
"org.iso.18013.5.1"
},
47
{
"hair_colour"
,
"org.iso.18013.5.1"
},
48
{
"birth_place"
,
"org.iso.18013.5.1"
},
49
{
"resident_address"
,
"org.iso.18013.5.1"
},
50
{
"portrait_capture_date"
,
"org.iso.18013.5.1"
},
51
{
"age_in_years"
,
"org.iso.18013.5.1"
},
52
{
"age_birth_year"
,
"org.iso.18013.5.1"
},
53
{
"age_over_10"
,
"org.iso.18013.5.1"
},
54
{
"age_over_11"
,
"org.iso.18013.5.1"
},
55
{
"age_over_12"
,
"org.iso.18013.5.1"
},
56
{
"age_over_13"
,
"org.iso.18013.5.1"
},
57
{
"age_over_14"
,
"org.iso.18013.5.1"
},
58
{
"age_over_15"
,
"org.iso.18013.5.1"
},
59
{
"age_over_16"
,
"org.iso.18013.5.1"
},
60
{
"age_over_17"
,
"org.iso.18013.5.1"
},
61
{
"age_over_18"
,
"org.iso.18013.5.1"
},
62
{
"age_over_19"
,
"org.iso.18013.5.1"
},
63
{
"age_over_20"
,
"org.iso.18013.5.1"
},
64
{
"age_over_21"
,
"org.iso.18013.5.1"
},
65
{
"age_over_23"
,
"org.iso.18013.5.1"
},
66
{
"age_over_25"
,
"org.iso.18013.5.1"
},
67
{
"age_over_50"
,
"org.iso.18013.5.1"
},
68
{
"age_over_55"
,
"org.iso.18013.5.1"
},
69
{
"age_over_60"
,
"org.iso.18013.5.1"
},
70
{
"age_over_65"
,
"org.iso.18013.5.1"
},
71
{
"age_over_70"
,
"org.iso.18013.5.1"
},
72
{
"age_over_75"
,
"org.iso.18013.5.1"
},
73
{
"issuing_jurisdiction"
,
"org.iso.18013.5.1"
},
74
{
"nationality"
,
"org.iso.18013.5.1"
},
75
{
"resident_city"
,
"org.iso.18013.5.1"
},
76
{
"resident_state"
,
"org.iso.18013.5.1"
},
77
{
"resident_postal_code"
,
"org.iso.18013.5.1"
},
78
{
"resident_country"
,
"org.iso.18013.5.1"
},
79
{
"biometric_template_face"
,
"org.iso.18013.5.1"
},
80
{
"biometric_template_voice"
,
"org.iso.18013.5.1"
},
81
{
"biometric_template_finger"
,
"org.iso.18013.5.1"
},
82
{
"biometric_template_iris"
,
"org.iso.18013.5.1"
},
83
{
"biometric_template_retina"
,
"org.iso.18013.5.1"
},
84
{
"biometric_template_hand_geometry"
,
"org.iso.18013.5.1"
},
85
{
"biometric_template_keystroke"
,
"org.iso.18013.5.1"
},
86
{
"biometric_template_signature_sign"
,
"org.iso.18013.5.1"
},
87
{
"biometric_template_lip_movement"
,
"org.iso.18013.5.1"
},
88
{
"biometric_template_thermal_face"
,
"org.iso.18013.5.1"
},
89
{
"biometric_template_thermal_hand"
,
"org.iso.18013.5.1"
},
90
{
"biometric_template_gait"
,
"org.iso.18013.5.1"
},
91
{
"biometric_template_body_odor"
,
"org.iso.18013.5.1"
},
92
{
"biometric_template_dna"
,
"org.iso.18013.5.1"
},
93
{
"biometric_template_ear"
,
"org.iso.18013.5.1"
},
94
{
"biometric_template_finger_geometry"
,
"org.iso.18013.5.1"
},
95
{
"biometric_template_palm_geometry"
,
"org.iso.18013.5.1"
},
96
{
"biometric_template_vein_pattern"
,
"org.iso.18013.5.1"
},
97
{
"biometric_template_foot_print"
,
"org.iso.18013.5.1"
},
98
{
"family_name_national_character"
,
"org.iso.18013.5.1"
},
99
{
"given_name_national_character"
,
"org.iso.18013.5.1"
},
100
{
"signature_usual_mark"
,
"org.iso.18013.5.1"
},
101
102
{
"name_suffix"
,
"org.iso.18013.5.1.aamva"
},
103
{
"organ_donor"
,
"org.iso.18013.5.1.aamva"
},
104
{
"veteran"
,
"org.iso.18013.5.1.aamva"
},
105
{
"family_name_truncation"
,
"org.iso.18013.5.1.aamva"
},
106
{
"given_name_truncation"
,
"org.iso.18013.5.1.aamva"
},
107
{
"aka_family_name.v2"
,
"org.iso.18013.5.1.aamva"
},
108
{
"aka_given_name.v2"
,
"org.iso.18013.5.1.aamva"
},
109
{
"aka_suffix"
,
"org.iso.18013.5.1.aamva"
},
110
{
"weight_range"
,
"org.iso.18013.5.1.aamva"
},
111
{
"race_ethnicity"
,
"org.iso.18013.5.1.aamva"
},
112
{
"sex"
,
"org.iso.18013.5.1.aamva"
},
113
{
"first_name"
,
"org.iso.18013.5.1.aamva"
},
114
{
"middle_names"
,
"org.iso.18013.5.1.aamva"
},
115
{
"first_name_truncation"
,
"org.iso.18013.5.1.aamva"
},
116
{
"middle_names_truncation"
,
"org.iso.18013.5.1.aamva"
},
117
{
"EDL_credential"
,
"org.iso.18013.5.1.aamva"
},
118
{
"EDL_credential.v2"
,
"org.iso.18013.5.1.aamva"
},
119
{
"DHS_compliance"
,
"org.iso.18013.5.1.aamva"
},
120
{
"resident_county"
,
"org.iso.18013.5.1.aamva"
},
121
{
"resident_county.v2"
,
"org.iso.18013.5.1.aamva"
},
122
{
"hazmat_endorsement_expiration_date"
,
"org.iso.18013.5.1.aamva"
},
123
{
"CDL_indicator"
,
"org.iso.18013.5.1.aamva"
},
124
{
"CDL_non_domiciled"
,
"org.iso.18013.5.1.aamva"
},
125
{
"CDL_non_domiciled.v2"
,
"org.iso.18013.5.1.aamva"
},
126
{
"DHS_compliance_text"
,
"org.iso.18013.5.1.aamva"
},
127
{
"DHS_temporary_lawful_status"
,
"org.iso.18013.5.1.aamva"
},
128
};
129
130
}
// namespace proofs
131
132
#endif
// PRIVACY_PROOFS_ZK_LIB_CIRCUITS_MDOC_MDOC_ATTRIBUTE_IDS_H_
proofs::MdocAttribute
Definition
mdoc_attribute_ids.h:22
Generated by
1.15.0