Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / asn1 / x509sat / x509sat.cnf
blob8195b9f863bf2e2b0b1549722c88fbcf42f66cba
1 # x509sat.cnf
2 # X509SAT conformation file
4 #.TYPE_ATTR
5 GUID                    TYPE = FT_GUID  DISPLAY = BASE_NONE  STRING = NULL BITMASK = 0
7 #.IMPORT ../x509if/x509if-exp.cnf
8 #.IMPORT ../p1/p1-exp.cnf
10 #.CLASS CONTEXT
11 &Type
12 &Assertion
13 &id         ObjectIdentifierType
14 #.END
15 #.CLASS ATTRIBUTE
16 &derivation            ClassReference ATTRIBUTE
17 &Type
18 &equality-match        ClassReference MATCHING-RULE
19 &ordering-match        ClassReference MATCHING-RULE
20 &substrings-match      ClassReference MATCHING-RULE
21 &single-valued         BooleanType
22 &collective            BooleanType
23 &no-user-modification  BooleanType
24 &usage                 TypeReference AttributeUsage
25 &id                    ObjectIdentifierType
26 #.END
27 #.CLASS MATCHING-RULE
28 &ParentMatchingRules   ClassReference MATCHING-RULE
29 &AssertionType
30 &uniqueMatchIndicator  ClassReference ATTRIBUTE
31 &id                    ObjectIdentifierType
32 #.END
33 #.MODULE_EXPORTS
34 CaseIgnoreListMatch
35 CountryName
36 Criteria
37 #DayTime
38 DayTimeBand
39 DestinationIndicator
40 DirectoryString
41 EnhancedGuide
42 FacsimileTelephoneNumber
43 InternationalISDNNumber
44 LanguageContextSyntax
45 LocaleContextSyntax
46 MultipleMatchingLocalities
47 NameAndOptionalUID
48 NamedDay
49 OctetSubstringAssertion
50 Period
51 PostalAddress
52 PreferredDeliveryMethod
53 PresentationAddress
54 ProtocolInformation
55 SubstringAssertion
56 TimeAssertion
57 TimeSpecification
58 TimeZone
59 UniqueIdentifier
60 X121Address
61 XDayOf
62 ZonalResult
63 ZonalSelect
65 #.SYNTAX
66 BitString
67 Boolean
68 CaseIgnoreListMatch
69 CountryName
70 DestinationIndicator
71 DirectoryString
72 EnhancedGuide
73 FacsimileTelephoneNumber
74 GUID
75 Guide
76 InternationalISDNNumber
77 Integer
78 NameAndOptionalUID
79 ObjectIdentifier
80 OctetString
81 PostalAddress
82 PreferredDeliveryMethod
83 PresentationAddress
84 SyntaxBMPString "BMPString"
85 SyntaxGeneralizedTime "GeneralizedTime"
86 SyntaxGeneralString "GeneralString"
87 SyntaxGraphicString "GraphicString"
88 SyntaxIA5String "IA5String"
89 SyntaxISO646String "ISO646String"
90 SyntaxNumericString "NumericString"
91 SyntaxPrintableString "PrintableString"
92 SyntaxT61String "T61String"
93 SyntaxTeletexString "TeletexString"
94 SyntaxUniversalString "UniversalString"
95 SyntaxUTF8String "UTF8String"
96 SyntaxUTCTime "UTCTime"
97 SyntaxVideotexString "VideotexString"
98 SyntaxVisibleString "VisibleString"
99 TelephoneNumber
100 TelexNumber
101 UniqueIdentifier
102 X121Address
104 #.REGISTER
105 ObjectIdentifier        B "2.5.4.0"   "id-at-objectClass"
106 #  - see x509if.cnf for "id-at-aliasedEntryName"
107 DirectoryString         B "2.5.4.2"    "id-at-knowledgeInformation"
108 DirectoryString         B "2.5.4.3"    "id-at-commonName"
109 DirectoryString         B "2.5.4.4"    "id-at-surname"
110 SyntaxPrintableString   B "2.5.4.5"    "id-at-serialNumber"
111 CountryName             B "2.5.4.6"    "id-at-countryName"
112 DirectoryString         B "2.5.4.7"    "id-at-localityName"
113 DirectoryString         B "2.5.4.7.1"  "id-at-collectiveLocalityName"
114 DirectoryString         B "2.5.4.8"    "id-at-stateOrProvinceName"
115 DirectoryString         B "2.5.4.8.1"  "id-at-collectiveStateOrProvinceName"
116 DirectoryString         B "2.5.4.9"    "id-at-streetAddress"
117 DirectoryString         B "2.5.4.9.1"  "id-at-collectiveStreetAddress"
118 DirectoryString         B "2.5.4.10.1" "id-at-collectiveOrganizationName"
119 DirectoryString         B "2.5.4.10"   "id-at-organizationName"
120 DirectoryString         B "2.5.4.11"   "id-at-organizationalUnitName"
121 DirectoryString         B "2.5.4.11.1" "id-at-collectiveOrganizationalUnitName"
122 DirectoryString         B "2.5.4.12"   "id-at-title"
123 DirectoryString         B "2.5.4.13"   "id-at-description"
124 Guide                           B "2.5.4.14"   "id-at-searchGuide"
125 DirectoryString         B "2.5.4.15"   "id-at-businessCategory"
126 PostalAddress           B "2.5.4.16"   "id-at-postalAddress"
127 DirectoryString         B "2.5.4.17"   "id-at-postalCode"
128 DirectoryString         B "2.5.4.17.1" "id-at-collectivePostalCode"
129 DirectoryString         B "2.5.4.18"   "id-at-postOfficeBox"
130 DirectoryString         B "2.5.4.18.1" "id-at-collectivePostOfficeBox"
131 DirectoryString         B "2.5.4.19"   "id-at-physicalDeliveryOfficeName"
132 DirectoryString         B "2.5.4.19.1" "id-at-collectivePhysicalDeliveryOfficeName"
133 TelephoneNumber         B "2.5.4.20"   "id-at-telephoneNumber"
134 TelephoneNumber         B "2.5.4.20.1" "id-at-collectiveTelephoneNumber"
135 TelexNumber             B "2.5.4.21"   "id-at-telexNumber"
136 TelexNumber             B "2.5.4.21.1" "id-at-collectiveTelexNumber"
137 # "id-at-teletexTerminalIdentifier" - what syntax?
138 FacsimileTelephoneNumber B "2.5.4.23" "id-at-facsimileTelephoneNumber"
139 FacsimileTelephoneNumber B "2.5.4.23.1" "id-at-collectiveFacsimileTelephoneNumber"
140 X121Address             B "2.5.4.24"   "id-at-x121Address"
141 InternationalISDNNumber B "2.5.4.25" "id-at-internationalISDNNumber"
142 InternationalISDNNumber B "2.5.4.25.1" "id-at-collectiveInternationalISDNNumber"
143 PostalAddress           B "2.5.4.26" "id-at-registeredAddress"
144 DestinationIndicator    B "2.5.4.27" "id-at-destinationIndicator"
145 PreferredDeliveryMethod B "2.5.4.28" "id-at-preferredDeliveryMethod"
146 PresentationAddress     B "2.5.4.29" "id-at-presentationAddress"
147 ObjectIdentifier        B "2.5.4.30" "id-at-supportedApplicationContext"
148 # "id-at-member" - see x509if.cnf
149 # "id-at-owner" - see x509if.cnf
150 # "id-at-roleOccupant" - see x509if.cnf
151 # "id-at-seeAlso" - see x509if.cnf
152 OctetString        B "2.5.4.35" "id-at-userPassword"
153 # "id-at-userCertificate" - see x509af.cnf
154 # "id-at-cACertificate" - see x509af.cnf
155 # "id-at-authorityRevocationList" - see x509af.cnf
156 # "id-at-certificateRevocationList" - see x509af.cnf
157 # "id-at-crossCertificatePair" - see x509af.cnf
158 DirectoryString         B "2.5.4.41"   "id-at-name"
159 DirectoryString         B "2.5.4.42"   "id-at-givenName"
160 DirectoryString         B "2.5.4.43"   "id-at-initials"
161 DirectoryString         B "2.5.4.44"   "id-at-generationQualifier"
162 UniqueIdentifier        B "2.5.4.45"  "id-at-uniqueIdedntifier"
163 SyntaxPrintableString    B "2.5.4.46"   "id-at-dnQualifier"
164 EnhancedGuide           B "2.5.4.47"    "id-at-enhancedSearchGuide"
165 ProtocolInformation     B "2.5.4.48" "id-at-protocolInformation"
166 # 49 "id-at-distinguishedName" - see x509if.cnf
167 NameAndOptionalUID      B "2.5.4.50" "id-at-uniqueMember"
168 DirectoryString         B "2.5.4.51"   "id-at-houseIdentifier"
169 ObjectIdentifier        B "2.5.4.52"    "id-at-supportedAlgorithms"
170 # 53 "id-at-deltaRevocationList" - see x509af.cnf
171 DirectoryString         B "2.5.4.54"   "id-at-dmdName"
172 #Clearance                              B "2.5.4.55"    "id-at-clearance"
173 ObjectIdentifier        B "2.5.4.56" "id-at-defaultDirQop"
174 # 57 "id-at-attributeIntegrityInfo" - what syntax?
175 # 58 "id-at-attributeCertificate" - see x509af.cnf
176 # 59 "id-at-attributeCertificateRevocationLIst" - see x509af.cnf
177 # 60 "id-at-confKeyInfo" - what syntax?
178 # 61 ? aACertificate(61)
179 # 62 ? attributeDescriptorCertificate(62)
180 # 63 ? attributeAuthorityRevocationList(63)
181 # 64 "id-at-familyInformation" - what syntax?
182 DirectoryString        B "2.5.4.65"   "id-at-pseudonym"
183 ObjectIdentifier       B "2.5.4.66" "id-at-communuicationsService"
184 ObjectIdentifier       B "2.5.4.67" "id-at-communuicationsNetwork"
186 DirectoryString        B "2.5.4.97" "id-at-organizationIdentifier"
188 SyntaxNumericString        B "2.5.13.8" "id-mr-numericStringMatch"
189 CaseIgnoreListMatch        B "2.5.13.11" "id-mr-caseIgnoreListMatch"
190 BitString                          B "2.5.13.16" "id-mr-bitStringMatch"
191 SyntaxUTCTime              B "2.5.13.26" "id-mr-uTCTimeOrderingMatch"
193 SyntaxGeneralizedTime  B "2.5.18.1" "id-oa-createTimeStamp"
194 SyntaxGeneralizedTime  B "2.5.18.2" "id-oa-modifyTimeStamp"
195 ObjectIdentifier       B "2.5.18.5" "id-oa-administrativeRole"
196 ObjectIdentifier       B "2.5.18.7" "id-oa-collectiveExclusions"
197 SyntaxGeneralizedTime  B "2.5.18.8" "id-oa-subschemaTimeStamp"
198 Boolean                    B "2.5.18.9" "id-oa-hasSubordinates"
199 #id-oa-subschemaSubentryList OBJECT IDENTIFIER ::= {id-oa 10}
200 #id-oa-accessControlSubentryList OBJECT IDENTIFIER ::= {id-oa 11}
201 #id-oa-collectiveAttributeSubentryList OBJECT IDENTIFIER ::= {id-oa 12}
202 #id-oa-contextDefaultSubentryList OBJECT IDENTIFIER ::= {id-oa 13}
203 #id-oa-contextAssertionDefault OBJECT IDENTIFIER ::= {id-oa 14}
204 #id-oa-serviceAdminSubentryList OBJECT IDENTIFIER ::= {id-oa 15}
205 #id-oa-searchRules OBJECT IDENTIFIER ::= {id-oa 16}
206 #id-oa-hierarchyLevel OBJECT IDENTIFIER ::= {id-oa 17}
207 #id-oa-hierarchyBelow OBJECT IDENTIFIER ::= {id-oa 18}
208 #id-oa-hierarchyParent OBJECT IDENTIFIER ::= {id-oa 19}
210 ObjectIdentifier       B "2.5.24.1" "id-aca-accessControlScheme"
212 # X402 - see master list in acp133.cnf
213 ObjectIdentifier B "2.6.5.2.8" "id-at-mhs-supported-automatic-actions"
214 ObjectIdentifier B "2.6.5.2.10" "id-at-mhs-supported-attributes"
215 ObjectIdentifier B "2.6.5.2.11" "id-at-mhs-supported-matching-rules"
217 # ACP133 - see master list in acp133.cnf
219 DirectoryString B "2.16.840.1.101.2.2.1.45" "id-at-releaseAuthorityName"
220 SyntaxPrintableString B "2.16.840.1.101.2.2.1.51" "id-at-cognizantAuthority"
221 SyntaxPrintableString B "2.16.840.1.101.2.2.1.53" "id-at-accountingCode"
222 Boolean B "2.16.840.1.101.2.2.1.54" "id-at-dualRoute"
223 SyntaxGeneralizedTime B "2.16.840.1.101.2.2.1.55" "id-at-effectiveDate"
224 SyntaxGeneralizedTime B "2.16.840.1.101.2.2.1.57" "id-at-expirationDate"
225 SyntaxPrintableString B "2.16.840.1.101.2.2.1.58" "id-at-hostOrgACP127"
226 SyntaxGeneralizedTime B "2.16.840.1.101.2.2.1.60" "id-at-lastRecapDate"
227 SyntaxPrintableString B "2.16.840.1.101.2.2.1.62" "id-at-lmf"
228 SyntaxPrintableString B "2.16.840.1.101.2.2.1.63" "id-at-longTitle"
229 Boolean B "2.16.840.1.101.2.2.1.64" "id-at-minimize"
230 Boolean B "2.16.840.1.101.2.2.1.65" "id-at-minimizeOverride"
231 SyntaxPrintableString B "2.16.840.1.101.2.2.1.68" "id-at-nationality"
232 SyntaxPrintableString B "2.16.840.1.101.2.2.1.68.1" "id-at-collectiveNationality"
233 Boolean B "2.16.840.1.101.2.2.1.69" "id-at-transferStation"
234 SyntaxPrintableString B "2.16.840.1.101.2.2.1.70" "id-at-plaNameACP127"
235 Boolean B "2.16.840.1.101.2.2.1.72" "id-at-plaReplace"
236 SyntaxPrintableString B "2.16.840.1.101.2.2.1.73" "id-at-primarySpellingACP127"
237 Boolean B "2.16.840.1.101.2.2.1.74" "id-at-publish"
238 SyntaxGeneralizedTime B "2.16.840.1.101.2.2.1.75" "id-at-recapDueDate"
239 SyntaxPrintableString B "2.16.840.1.101.2.2.1.77" "id-at-rI"
240 Boolean B "2.16.840.1.101.2.2.1.81" "id-at-section"
241 SyntaxPrintableString B "2.16.840.1.101.2.2.1.82" "id-at-serviceOrAgency"
242 SyntaxPrintableString B "2.16.840.1.101.2.2.1.83" "id-at-sHD"
243 SyntaxPrintableString B "2.16.840.1.101.2.2.1.84" "id-at-shortTitle"
244 SyntaxPrintableString B "2.16.840.1.101.2.2.1.85" "id-at-sigad"
245 SyntaxPrintableString B "2.16.840.1.101.2.2.1.86" "id-at-spot"
246 Boolean B "2.16.840.1.101.2.2.1.87" "id-at-tARE"
247 TelephoneNumber B "2.16.840.1.101.2.2.1.94" "id-at-aCPMobileTelephoneNumber"
248 TelephoneNumber B "2.16.840.1.101.2.2.1.95" "id-at-aCPPagerTelephoneNumber"
249 SyntaxPrintableString B "2.16.840.1.101.2.2.1.96" "id-at-tCC"
250 SyntaxPrintableString B "2.16.840.1.101.2.2.1.97" "id-at-tRC"
251 SyntaxPrintableString B "2.16.840.1.101.2.2.1.106" "id-at-accessCodes"
252 SyntaxGraphicString B "2.16.840.1.101.2.2.1.107" "id-at-accessSchema"
253 TelephoneNumber B "2.16.840.1.101.2.2.1.109" "id-at-aCPTelephoneFaxNumber"
254 ObjectIdentifier B "2.16.840.1.101.2.2.1.115" "id-at-gatewayType"
255 ObjectIdentifier B "2.16.840.1.101.2.2.1.116" "id-at-ghpType"
256 DirectoryString B "2.16.840.1.101.2.2.1.118" "id-at-mailDomains"
257 TelephoneNumber B "2.16.840.1.101.2.2.1.119" "id-at-militaryFacsimileNumber"
258 TelephoneNumber B "2.16.840.1.101.2.2.1.119.1" "id-at-collectiveMilitaryFacsimileNumber"
259 TelephoneNumber B "2.16.840.1.101.2.2.1.120" "id-at-militaryTelephoneNumber"
260 TelephoneNumber B "2.16.840.1.101.2.2.1.120.1" "id-at-collectiveMilitaryTelephoneNumber"
261 SyntaxGraphicString B "2.16.840.1.101.2.2.1.122" "id-at-networkSchema"
262 DirectoryString B "2.16.840.1.101.2.2.1.124" "id-at-operationName"
263 DirectoryString B "2.16.840.1.101.2.2.1.125" "id-at-positionNumber"
264 DirectoryString B "2.16.840.1.101.2.2.1.126" "id-at-proprietaryMailboxes"
265 TelephoneNumber B "2.16.840.1.101.2.2.1.127" "id-at-secureFacsimileNumber"
266 TelephoneNumber B "2.16.840.1.101.2.2.1.127.1" "id-at-collectiveSecureFacsimileNumber"
267 TelephoneNumber B "2.16.840.1.101.2.2.1.128" "id-at-secureTelephoneNumber"
268 TelephoneNumber B "2.16.840.1.101.2.2.1.128.1" "id-at-collectiveSecureTelephoneNumber"
269 DirectoryString B "2.16.840.1.101.2.2.1.129" "id-at-serviceNumber"
270 DirectoryString B "2.16.840.1.101.2.2.1.133" "id-at-rank"
271 DirectoryString B "2.16.840.1.101.2.2.1.143" "id-at-adminConversion"
272 SyntaxPrintableString B "2.16.840.1.101.2.2.1.144" "id-at-tCCG"
273 DirectoryString B "2.16.840.1.101.2.2.1.145" "id-at-usdConversion"
274 DirectoryString B "2.16.840.1.101.2.2.1.158" "id-at-aCPRoleInformation"
275 DirectoryString B "2.16.840.1.101.2.2.1.159" "id-at-coalitionGrade"
276 TelephoneNumber B "2.16.840.1.101.2.2.1.160" "id-at-militaryIPPhoneNumber"
277 ObjectIdentifier B "2.16.840.1.101.2.2.1.161" "id-at-fileTypeInfoCapability"
278 SyntaxPrintableString B "2.16.840.1.101.2.2.1.172" "id-at-aCPFunctionalDescription"
279 SyntaxPrintableString B "2.16.840.1.101.2.2.1.173" "id-at-alternatePLAName"
280 SyntaxGeneralizedTime B "2.16.840.1.101.2.2.1.174" "id-at-aCPEntryCreationDate"
281 SyntaxGeneralizedTime B "2.16.840.1.101.2.2.1.175" "id-at-aCPEntryModificationDate"
282 ObjectIdentifier B "2.16.840.1.101.2.2.1.176" "id-at-aCPEntryType"
283 SyntaxPrintableString B "2.16.840.1.101.2.2.1.177" "id-at-aCPEntryUniqueId"
284 SyntaxPrintableString B "2.16.840.1.101.2.2.1.178" "id-at-aCPCitizenship"
285 SyntaxPrintableString B "2.16.840.1.101.2.2.1.179" "id-at-aCPEID"
286 SyntaxPrintableString B "2.16.840.1.101.2.2.1.180" "id-at-aCPCOI"
287 SyntaxPrintableString B "2.16.840.1.101.2.2.1.181" "id-at-aCPPublishTo"
288 SyntaxPrintableString B "2.16.840.1.101.2.2.1.182" "id-at-aCPSvcApps"
289 SyntaxPrintableString B "2.16.840.1.101.2.2.1.183" "id-at-aCPDirectionsTo"
290 SyntaxPrintableString B "2.16.840.1.101.2.2.1.185" "id-at-aCPLatitude"
291 SyntaxPrintableString B "2.16.840.1.101.2.2.1.186" "id-at-aCPLocationMap"
292 SyntaxPrintableString B "2.16.840.1.101.2.2.1.187" "id-at-aCPLongitude"
294 # PKCS#9
296 SyntaxIA5String B "1.2.840.113549.1.9.1"        "pkcs-9-at-emailAddress"
297 #PKCS9String    B "1.2.840.113549.1.9.2"        "pkcs-9-at-unstructuredName" - TBD
298 #ContentType    B "1.2.840.113549.1.9.3"        "pkcs-9-at-contentType" - see cms.cnf
299 #MessageDigest  B "1.2.840.113549.1.9.4"        "pkcs-9-at-messageDigest" - see cms.cnf
300 #SigningTime    B "1.2.840.113549.1.9.5"        "pkcs-9-at-signingTime" - see cms.cnf
301 #Countersignature       B "1.2.840.113549.1.9.6"        "pkcs-9-at-counterSignature" - see cms.cnf
302 DirectoryString B "1.2.840.113549.1.9.7"        "pkcs-9-at-challengePassword"
303 DirectoryString B "1.2.840.113549.1.9.8"        "pkcs-9-at-unstructuredAddress"
304 #SETOFAttribute B "1.2.840.113549.1.9.9"        "pkcs-9-at-extendedCertificateAttributes" - TBD
305 DirectoryString B "1.2.840.113549.1.9.13"       "pkcs-9-at-signingDescription"
306 #ExtensionRequest       B "1.2.840.113549.1.9.14"       "pkcs-9-at-extensionRequest" - TBD
307 #SMIMECapabiliaties     B "1.2.840.113549.1.9.15"       "pkcs-9-at-smimeCapabilities" - TBD
308 SyntaxBMPString B "1.2.840.113549.1.9.20"       "pkcs-9-at-friendlyName"
309 OctetString     B "1.2.840.113549.1.9.21"       "pkcs-9-at-localKeyId"
310 #PKCS15Token    B "1.2.840.113549.1.9.25.1"     "pkcs-9-at-pkcs15Token" - TBD
311 #EncryptedPrivateKeyInfo        B "1.2.840.113549.1.9.25.2"     "pkcs-9-at-encryptedPrivateKeyInfo" - see pkcs12.cnf
312 OctetString     B "1.2.840.113549.1.9.25.3"     "pkcs-9-at-randomNonce" # move to PKCS#9 when defined
313 Integer         B "1.2.840.113549.1.9.25.4"     "pkcs-9-at-sequenceNumber" # move to PKCS#9 when defined
314 #ContentInfo    B "1.2.840.113549.1.9.25.5"     "pkcs-9-at-pkcs7PDU" - TBD - not the same as CMS ContentInfo
316 SyntaxGeneralizedTime B "1.3.6.1.5.5.7.9.1"             "pkcs-9-at-dateOfBirth"
317 DirectoryString B "1.3.6.1.5.5.7.9.2"           "pkcs-9-at-placeOfBirth"
318 SyntaxPrintableString   B "1.3.6.1.5.5.7.9.3"           "pkcs-9-at-gender"
319 SyntaxPrintableString B "1.3.6.1.5.5.7.9.4"             "pkcs-9-at-countryOfCitizenship"
320 SyntaxPrintableString   B "1.3.6.1.5.5.7.9.5"           "pkcs-9-at-countryOfResidence"
322 # RFC 2247
323 SyntaxIA5String B "0.9.2342.19200300.100.1.25" "dc"
325 # RFC 2798 - The LDAP inetOrgPerson Object Class
326 DirectoryString B "2.16.840.1.113730.3.1.1" "carLicense"
327 DirectoryString B "2.16.840.1.113730.3.1.2" "departmentNumber"
328 DirectoryString B "2.16.840.1.113730.3.1.3" "employeeNumber"
329 DirectoryString B "2.16.840.1.113730.3.1.4" "employeeType"
330 #JPEG           B "0.9.2342.19200300.100.1.60" "jpegPhoto" - see packet-jpeg.c
331 DirectoryString B "2.16.840.1.113730.3.1.39" "preferredLanguage"
332 #SignedData     B "2.16.840.1.113730.3.1.40" "userSMIMECertificate" - see cms.cnf
333 #PFX            B "2.16.840.1.113730.3.1.216"   "pkcs-9-at-PKCS12" - see pkcs12.cnf
334 DirectoryString B "2.16.840.1.113730.3.1.241" "displayName"
336 # Microsoft-specific
337 # GeneralName other-name
338 SyntaxBMPString B "1.3.6.1.4.1.311.20.2"        "id-ms-certificate-template-name"
339 SyntaxUTF8String B "1.3.6.1.4.1.311.20.2.3"     "id-ms-user-principal-name"
340 SyntaxBMPString B "1.3.6.1.4.1.311.17.1"        "id-ms-local-machine-keyset"
341 Integer B       "1.3.6.1.4.1.311.21.1"          "id-ms-ca-version"
342 OctetString     B       "1.3.6.1.4.1.311.21.2"          "id-ms-previous-cert-hash"
343 Integer B       "1.3.6.1.4.1.311.21.3"          "id-ms-virtual-base"
344 SyntaxUTCTime   B       "1.3.6.1.4.1.311.21.4"          "id-ms-next-publish"
346 # unknown X.420 PerRecipientExtensionField
347 Integer B "1.2.826.0.1063.7.0.0.0" "unknown-UK-organisation-defined-extension"
349 # NEXOR Originating UA
350 SyntaxIA5String                 B "1.2.826.0.1004.10.1.1" "nexor-originating-ua"
352 # X.420 Message Store Attributes - see p22.cnf
353 Boolean         B       "2.6.1.6.3"     "id-sat-ipm-auto-discarded"
355 # RFC 4530
356 GUID    B       "1.3.6.1.1.16.4"        "entryUUID"
358 # Guidelines for Extended Validation Certificates (http://www.cabforum.org/EV_Certificate_Guidelines_draft11.pdf)
359 DirectoryString B "1.3.6.1.4.1.311.60.2.1.1" "jurisdictionOfIncorporationLocalityName"
360 DirectoryString B "1.3.6.1.4.1.311.60.2.1.2" "jurisdictionOfIncorporationStateOrProvinceName"
361 CountryName     B "1.3.6.1.4.1.311.60.2.1.3" "jurisdictionOfIncorporationCountryName"
363 #.NO_EMIT
365 #.TYPE_RENAME
367 #.FIELD_RENAME
368 OctetSubstringAssertion/_item/any       any_substring
369 OctetSubstringAssertion/_item/final     finall_substring
370 OctetSubstringAssertion/_item/initial   initial_substring
371 XDayOf/first                            first_dayof
372 XDayOf/second                           second_dayof
373 XDayOf/third                            third_dayof
374 XDayOf/fourth                           fourth_dayof
375 XDayOf/fifth                            fifth_dayof
377 #.END
379 #.FN_BODY SyntaxUTCTime
380   char *outstr, *newstr;
381   uint32_t tvblen;
383   /* the 2-digit year can only be in the range 1950..2049 https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1 */
384   offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index, &outstr, &tvblen);
385   if (hf_index > 0 && outstr) {
386     newstr = wmem_strconcat(actx->pinfo->pool, outstr[0] < '5' ? "20": "19", outstr, NULL);
387     proto_tree_add_string(tree, hf_index, tvb, offset - tvblen, tvblen, newstr);
388   }
390 #.FN_BODY GUID
391   int8_t ber_class;
392   bool pc;
393   int32_t tag;
394   uint32_t len;
395   e_guid_t uuid;
397   if(!implicit_tag){
398     offset=dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag);
399     offset=dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, NULL);
400   } else {
401     int32_t remaining=tvb_reported_length_remaining(tvb, offset);
402     len=remaining>0 ? remaining : 0;
403   }
405   tvb_get_ntohguid (tvb, offset, &uuid);
406   actx->created_item = proto_tree_add_guid(tree, hf_index, tvb, offset, len, &uuid);
407 #.END
409 #.TYPE_ATTR
410 DirectoryString/teletexString DISPLAY = BASE_NONE
412 #.TYPE_ATTR
413 SyntaxTeletexString DISPLAY = BASE_NONE
415 #.TYPE_ATTR
416 SyntaxT61String DISPLAY = BASE_NONE
418 #.TYPE_ATTR
419 SyntaxVideotexString DISPLAY = BASE_NONE
421 #.END