1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
|
# x509ce.cnf
# X509CE conformation file
#.IMPORT ../x509if/x509if-exp.cnf
#.IMPORT ../x509af/x509af-exp.cnf
#.IMPORT ../x509sat/x509sat-exp.cnf
#.IMPORT ../p1/p1-exp.cnf
# Forward declaration
#.CLASS CERT-POLICY-QUALIFIER
&id ObjectIdentifierType
&Qualifier
#.END
# InformationFramework classes
# #.CLASS ATTRIBUTE
#&derivation ClassReference ATTRIBUTE
#&Type
#&equality-match ClassReference MATCHING-RULE
#&ordering-match ClassReference MATCHING-RULE
#&substrings-match ClassReference MATCHING-RULE
#&single-valued BooleanType
#&collective BooleanType
#&no-user-modification BooleanType
#&usage
#&id ObjectIdentifierType
# #.END
#.CLASS MATCHING-RULE
&ParentMatchingRules ClassReference MATCHING-RULE
&AssertionType
&uniqueMatchIndicator ClassReference ATTRIBUTE
&id ObjectIdentifierType
#.END
#.EXPORTS
AltNameType
AttributesSyntax
AuthorityKeyIdentifier
BaseCRLNumber
BaseDistance
BaseRevocationInfo
BasicConstraintsSyntax
CertificateAssertion
CertificateExactAssertion
CertificateListAssertion
CertificateListExactAssertion
CertificatePairAssertion
CertificatePairExactAssertion
CertificatePoliciesSyntax
CertPolicySet
CRLDistPointsSyntax
CRLNumber
CRLReason
CRLReferral
CRLScopeSyntax
CRLStreamIdentifier
DeltaInformation
DeltaRefInfo
DistributionPoint
DistributionPointName
EDIPartyName
GeneralName
GeneralNames
GeneralSubtree
GeneralSubtrees
HoldInstruction
IssuingDistPointSyntax
KeyIdentifier
KeyPurposeId
KeyPurposeIDs
KeyUsage
NameConstraintsSyntax
NumberRange
OnlyCertificateTypes
OrderedListSyntax
PerAuthorityScope
PkiPathMatchSyntax
PolicyConstraintsSyntax
PolicyInformation
PolicyMappingsSyntax
PolicyQualifierInfo
PrivateKeyUsagePeriod
ReasonFlags
SkipCerts
StatusReferral
StatusReferrals
SubjectKeyIdentifier
ScramblerCapabilities
CiplusInfo
CicamBrandId
SecurityLevel
#.PDU
ScramblerCapabilities
CiplusInfo
CicamBrandId
SecurityLevel
#.REGISTER
CertificatePoliciesSyntax B "2.5.29.3" "id-ce-certificatePolicies"
AttributesSyntax B "2.5.29.9" "id-ce-subjectDirectoryAttributes"
SubjectKeyIdentifier B "2.5.29.14" "id-ce-subjectKeyIdentifier"
KeyUsage B "2.5.29.15" "id-ce-keyUsage"
PrivateKeyUsagePeriod B "2.5.29.16" "id-ce-privateKeyUsagePeriod"
GeneralNames B "2.5.29.17" "id-ce-subjectAltName"
GeneralNames B "2.5.29.18" "id-ce-issuerAltName"
BasicConstraintsSyntax B "2.5.29.19" "id-ce-basicConstraints"
CRLNumber B "2.5.29.20" "id-ce-cRLNumber"
CRLReason B "2.5.29.21" "id-ce-reasonCode"
HoldInstruction B "2.5.29.23" "id-ce-instructionCode"
BaseCRLNumber B "2.5.29.27" "id-ce-deltaCRLIndicator"
IssuingDistPointSyntax B "2.5.29.28" "id-ce-issuingDistributionPoint"
GeneralNames B "2.5.29.29" "id-ce-certificateIssuer"
NameConstraintsSyntax B "2.5.29.30" "id-ce-nameConstraints"
CRLDistPointsSyntax B "2.5.29.31" "id-ce-cRLDistributionPoints"
CertificatePoliciesSyntax B "2.5.29.32" "id-ce-certificatePolicies"
PolicyMappingsSyntax B "2.5.29.33" "id-ce-policyMappings"
AuthorityKeyIdentifier B "2.5.29.35" "id-ce-authorityKeyIdentifier"
PolicyConstraintsSyntax B "2.5.29.36" "id-ce-policyConstraints"
KeyPurposeIDs B "2.5.29.37" "id-ce-extKeyUsage"
CRLStreamIdentifier B "2.5.29.40" "id-ce-cRLStreamIdentifier"
CRLScopeSyntax B "2.5.29.44" "id-ce-cRLScope"
StatusReferrals B "2.5.29.45" "id-ce-statusReferrals"
CRLDistPointsSyntax B "2.5.29.46" "id-ce-freshestCRL"
OrderedListSyntax B "2.5.29.47" "id-ce-orderedList"
DeltaInformation B "2.5.29.53" "id-ce-deltaInfo"
SkipCerts B "2.5.29.54" "id-ce-inhibitAnyPolicy"
ToBeRevokedSyntax B "2.5.29.58" "id-ce-toBeRevoked"
RevokedGroupsSyntax B "2.5.29.59" "id-ce-RevokedGroups"
ExpiredCertsOnCRL B "2.5.29.60" "id-ce-expiredCertsOnCRL"
AAIssuingDistPointSyntax B "2.5.29.61" "id-ce-aAissuingDistributionPoint"
NFTypes B "1.3.6.1.5.5.7.1.34" "id-pe-nftype"
CertificateAssertion B "2.5.13.35" "id-mr-certificateMatch"
CertificatePairExactAssertion B "2.5.13.36" "id-mr-certificatePairExactMatch"
CertificatePairAssertion B "2.5.13.37" "id-mr-certificatePairMatch"
CertificateListExactAssertion B "2.5.13.38" "id-mr-certificateListExactMatch"
CertificateListAssertion B "2.5.13.39" "id-mr-certificateListMatch"
PkiPathMatchSyntax B "2.5.13.62" "id-mr-pkiPathMatch"
EnhancedCertificateAssertion B "2.5.13.65" "id-mr-enhancedCertificateMatch"
# These are obsolete???
# The following OBJECT IDENTIFIERS are not used by this Specification:
# {id-ce 2}, {id-ce 3}, {id-ce 4}, {id-ce 5}, {id-ce 6}, {id-ce 7},
# {id-ce 8}, {id-ce 10}, {id-ce 11}, {id-ce 12}, {id-ce 13},
# {id-ce 22}, {id-ce 25}, {id-ce 26}
# Microsoft extensions
CertificateTemplate B "1.3.6.1.4.1.311.21.7" "id-ms-certificate-template"
CertificatePoliciesSyntax B "1.3.6.1.4.1.311.21.10" "id-ms-application-certificate-policies"
NtdsCaSecurity B "1.3.6.1.4.1.311.25.2" "id-ms-ntds-ca-security"
NtdsObjectSid B "1.3.6.1.4.1.311.25.2.1" "id-ms-ntds-object-sid"
# Entrust extensions
EntrustVersionInfo B "1.2.840.113533.7.65.0" "id-ce-entrustVersionInfo"
#.NO_EMIT
#.TYPE_RENAME
#.TYPE_ATTR
ScramblerCapabilities/capability DISPLAY = BASE_DEC STRINGS = VALS64(ciplus_scr_cap)
SecurityLevel DISPLAY = BASE_DEC STRINGS = VALS64(ciplus_security_level)
#.FIELD_RENAME
CRLReferral/issuer crlr_issuer
CertificatePairExactAssertion/issuedToThisCAAssertion cpea_issuedToThisCAAssertion
CertificatePairExactAssertion/issuedByThisCAAssertion cpea_issuedByThisCAAssertion
CertificateGroup/serialNumberRange certificateGroupNumberRange
CertificateAssertion/subjectAltName subjectAltNameType
EnhancedCertificateAssertion/pathToName enhancedPathToName
#.FN_PARS PolicyQualifierInfo/policyQualifierId
FN_VARIANT = _str HF_INDEX = hf_x509ce_object_identifier_id VAL_PTR = &actx->external.direct_reference
#.FN_BODY PolicyQualifierInfo/qualifier
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
#.FN_BODY GeneralName/iPAddress
switch (tvb_reported_length(tvb)) {
case 4: /* IPv4 */
proto_tree_add_item(tree, hf_x509ce_IPAddress_ipv4, tvb, offset, 4, ENC_BIG_ENDIAN);
offset += 4;
break;
case 16: /* IPv6 */
proto_tree_add_item(tree, hf_x509ce_IPAddress_ipv6, tvb, offset, 16, ENC_NA);
offset += 16;
break;
}
#.FN_PARS OtherNameType
FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
#.FN_BODY OtherNameValue
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
#.FN_FTR GeneralName/uniformResourceIdentifier
proto_item_set_url(actx->created_item);
#.END
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=8 expandtab:
# :indentSize=2:tabSize=8:noTabs=true:
#
|