epan/dissectors/pidl/ C99 drsuapi
[wireshark-sm.git] / epan / dissectors / asn1 / p22 / p22.cnf
blob5e706d7c83ea3b83966dc82a5185fa9d3edbad77
1 # p22.cnf
2 # X.420 (InterPersonal Messaging) conformance file
4 #.TYPE_ATTR
5 Time                    TYPE = FT_STRING  DISPLAY = BASE_NONE  STRING = NULL BITMASK = 0
6 # Permitted-Actions-Attribute is exported from FTAM as DISPLAY = BASE_HEX -
7 # but this causes a runtime error.
8 # We override the definition here until we can identify the fix correct fix
9 Permitted-Actions-Attribute TYPE = FT_BYTES   DISPLAY = BASE_NONE   STRINGS = NULL  BITMASK = 0
11 #.IMPORT ../ftam/ftam-exp.cnf
12 #.IMPORT ../p1/p1-exp.cnf
13 #.IMPORT ../p7/p7-exp.cnf
14 #.IMPORT ../x509af/x509af-exp.cnf
15 #.IMPORT ../x509ce/x509ce-exp.cnf
16 #.IMPORT ../acse/acse-exp.cnf
18 #.OMIT_ASSIGNMENT
19 # These gives unused code warnings
21 NRN
24 #.END
26 #.NO_EMIT
27 # These fields are only used through COMPONENTS OF,
28 # and consequently generate unused code warnings
29 CommonFields
30 #.END
32 #.EXPORTS
33 ORDescriptor
34 InformationObject
35 ExtensionsField
36 IPM
37 IPN
38 MessageParameters
39 NonReceiptReasonField
40 DiscardReasonField
41 ReceiptTimeField
43 #.FIELD_RENAME
45 G3FacsimileBodyPart/data        g3facsimile_data
46 VideotexBodyPart/data   videotex_data
47 ExtendedBodyPart/data   extended_data
48 TeletexBodyPart/data    teletex_data
49 IA5TextBodyPart/data    ia5text_data
50 MessageBodyPart/data    message_data
51 EncryptedBodyPart/data  encrypted_data
53 G3FacsimileBodyPart/parameters  g3facsimile_parameters
54 VideotexBodyPart/parameters     videotex_parameters
55 ExtendedBodyPart/parameters     extended_parameters
56 TeletexBodyPart/parameters      teletex_parameters
57 IA5TextBodyPart/parameters      ia5text_parameters
58 MessageBodyPart/parameters      message_parameters
59 EncryptedBodyPart/parameters    encrypted_parameters
61 TeletexParameters/non-basic-parameters          teletex_non_basic_parameters
62 G3FacsimileParameters/non-basic-parameters      g3facsimile_non_basic_parameters
64 CirculationSignatureData/algorithm-identifier   circulation-signature-algorithm-identifier
66 Account-Attribute/actual-values         account-actual-values
67 User-Identity-Attribute/actual-values   identity-actual-values
69 MessageReference/user-relative-identifier user-relative-identifier-ref
71 BodyPartSignatureVerification/_item/body-part-signature body-part-signature-status
72 BodyPart/basic/encrypted                encrypted-bp
73 BodyPartSynopsis/message                message-synopsis
74 NonMessageBodyPartSynopsis/type         bp-type
75 NonMessageBodyPartSynopsis/parameters   bp-parameters
77 ForwardedContentToken/_item/body-part-choice    body-part-token-choice
78 ForwardedContentToken/_item/body-part-choice/message-or-content-body-part       forwarded-content-token
80 #.TYPE_RENAME
82 ForwardedContentToken/_item/body-part-choice    T_body_part_token_choice
84 #.FIELD_ATTR
85 G3FacsimileBodyPart/data                                ABBREV=g3facsimile.data
86 VideotexBodyPart/data                                   ABBREV=videotex.data
87 ExtendedBodyPart/data                                   ABBREV=extended.data
88 TeletexBodyPart/data                                    ABBREV=teletex.data
89 IA5TextBodyPart/data                                    ABBREV=ia5text.data
90 MessageBodyPart/data                                    ABBREV=message.data
91 EncryptedBodyPart/data                                  ABBREV=encrypted.data
92 Account-Attribute/actual-values                 ABBREV=account.actual-values
93 User-Identity-Attribute/actual-values   ABBREV=identity.actual-values
95 #.REGISTER
96 AbsenceAdvice                           B "2.6.1.19.0"  "id-on-absence-advice"
97 ChangeOfAddressAdvice           B "2.6.1.19.1"  "id-on-change-of-address-advice"
98 IPMAssemblyInstructions         B "2.6.1.17.2"  "id-mst-assembly-instructions"
100 IncompleteCopy                          B "2.6.1.5.0"   "id-hex-incomplete-copy"
101 Languages                                       B "2.6.1.5.1"   "id-hex-languages"
102 AutoSubmitted                           B "2.6.1.5.2"   "id-hex-auto-submitted"
103 BodyPartSignatures                      B "2.6.1.5.3"   "id-hex-body-part-signatures"
104 IPMSecurityLabel                        B "2.6.1.5.4"   "id-hex-ipm-security-label"
105 AuthorizationTime                       B "2.6.1.5.5"   "id-hex-authorization-time"
106 CirculationList                         B "2.6.1.5.6"   "id-hex-circulation-list-recipients"
107 CirculationListIndicator        B "2.6.1.20.0"  "id-rex-circulation-list-indicator"
108 DistributionCodes                       B "2.6.1.5.7"   "id-hex-distribution-codes"
109 ExtendedSubject                         B "2.6.1.5.8"   "id-hex-extended-subject"
110 InformationCategories           B "2.6.1.5.9"   "id-hex-information-categories"
111 ManualHandlingInstructions      B "2.6.1.5.10"  "id-hex-manual-handling-instructions"
112 OriginatorsReference            B "2.6.1.5.11"  "id-hex-originators-reference"
113 PrecedencePolicyIdentifier      B "2.6.1.5.12"  "id-hex-precedence-policy-id"
114 Precedence                                      B "2.6.1.20.1"  "id-rex-precedence"
116 IA5TextData                             B "2.6.1.4.0"   "id-et-ia5-text"
117 IA5TextParameters                       B "2.6.1.11.0"  "id-ep-ia5-text"
118 G3FacsimileData                         B "2.6.1.4.2"   "id-et-g3-facsimile"
119 G3FacsimileParameters           B "2.6.1.11.2"  "id-ep-g3-facsimile"
120 G4Class1BodyPart                        B "2.6.1.4.3"   "id-et-g4-class1"
121 TeletexData                             B "2.6.1.4.4"   "id-et-teletex"
122 TeletexParameters                       B "2.6.1.11.4"  "id-ep-teletex"
123 VideotexData                            B "2.6.1.4.5"   "id-et-videotex"
124 VideotexParameters                      B "2.6.1.11.5"  "id-ep-videotex"
125 EncryptedData                           B "2.6.1.4.6"   "id-et-encrypted"
126 EncryptedParameters             B "2.6.1.11.6"  "id-ep-encrypted"
127 MessageData                             B "2.6.1.4.7"   "id-et-message"
128 MessageParameters                       B "2.6.1.11.7"  "id-ep-message"
129 MixedModeBodyPart                       B "2.6.1.4.8"   "id-et-mixed-mode"
130 BilaterallyDefinedBodyPart      B "2.6.1.4.9"   "id-et-bilaterally-defined"
132 GeneralTextParameters           B "2.6.1.11.11" "id-ep-general-text"
133 GeneralTextData                         B "2.6.1.4.11"  "id-et-general-text"
134 FileTransferParameters          B "2.6.1.11.12" "id-ep-file-transfer"
135 FileTransferData                        B "2.6.1.4.12"  "id-et-file-transfer"
136 # {id-et 13} is no longer defined
137 # ForwardedReportBodyPart {id-et 14} defined in p1.cnf
138 MessageParameters                       B "2.6.1.11.15" "id-ep-notification"
139 IPN                                                     B "2.6.1.4.15"  "id-et-notification"
140 VoiceParameters                         B "2.6.1.11.16" "id-ep-voice"
141 VoiceData                                       B "2.6.1.4.16"  "id-et-voice"
142 # P22
143 ForwardedContentParameters      B "2.6.1.11.17.2.6.1.10.1"      "id-ep-content-p22"
144 InformationObject                       B "2.6.1.4.17.2.6.1.10.1"       "id-et-content-p22"
146 ForwardedContentParameters      B "2.6.1.11.17.2.6.1.10.0"      "id-ep-content-p2"
147 InformationObject                       B "2.6.1.4.17.2.6.1.10.0"       "id-et-content-p2"
148 #p722
149 ForwardedContentParameters      B "2.6.1.11.17.1.3.26.0.4406.0.4.1"     "id-ep-content-p772"
152 # PKCS#7Bodypart {id-et 18} defined in cms.cnf
154 # Message Store Attributes
155 IPMEntryType                            B       "2.6.1.6.0"     "id-sat-ipm-entry-type"
156 IPMSynopsis                                     B       "2.6.1.6.1"     "id-sat-ipm-synopsis"
157 BodyPartDescriptor                      B       "2.6.1.6.2"     "id-sat-body-parts-summary"
158 #Boolean                                        B       "2.6.1.6.3"     "id-sat-ipm-auto-discarded" - see x509sat.cnf
160 Heading                                         B       "2.6.1.7.0"     "id-hat-heading"
161 ThisIPMField                            B       "2.6.1.7.1"     "id-hat-this-ipm"
162 OriginatorField                         B       "2.6.1.7.2"     "id-hat-originator"
163 RepliedToIPMField                       B       "2.6.1.7.3"     "id-hat-replied-to-IPM"
164 SubjectField                            B       "2.6.1.7.4"     "id-hat-subject"
165 ExpiryTimeField                         B       "2.6.1.7.5"     "id-hat-expiry-time"
166 ReplyTimeField                          B       "2.6.1.7.6"     "id-hat-reply-time"
167 ImportanceField                         B       "2.6.1.7.7"     "id-hat-importance"
168 SensitivityField                        B       "2.6.1.7.8"     "id-hat-sensitivity"
169 AutoForwardedField                      B       "2.6.1.7.9"     "id-hat-auto-forwarded"
170 AuthorizingUsersSubfield        B       "2.6.1.7.10"    "id-hat-authorizing-users"
171 PrimaryRecipientsSubfield       B       "2.6.1.7.11"    "id-hat-primary-recipients"
172 CopyRecipientsSubfield          B       "2.6.1.7.12"    "id-hat-copy-recipients"
173 BlindCopyRecipientsSubfield     B       "2.6.1.7.13"    "id-hat-blind-copy-recipients"
174 ObsoletedIPMsSubfield           B       "2.6.1.7.14"    "id-hat-obsoleted-IPMs"
175 RelatedIPMsSubfield                     B       "2.6.1.7.15"    "id-hat-related-IPMs"
176 ReplyRecipientsSubfield         B       "2.6.1.7.16"    "id-hat-reply-recipients"
177 IncompleteCopy                          B       "2.6.1.7.17"    "id-hat-incomplete-copy"
178 Language                                        B       "2.6.1.7.18"    "id-hat-languages"
179 ORDescriptor                            B       "2.6.1.7.19"    "id-hat-rn-requestors"
180 ORDescriptor                            B       "2.6.1.7.20"    "id-hat-nrn-requestors"
181 ORDescriptor                            B       "2.6.1.7.21"    "id-hat-reply-requestors"
182 AutoSubmitted                           B       "2.6.1.7.22"    "id-hat-auto-submitted"
183 BodyPartSignatures                      B       "2.6.1.7.23"    "id-hat-body-part-signatures"
184 IPMSecurityLabel                        B       "2.6.1.7.24"    "id-hat-ipm-security-label"
185 BodyPartSecurityLabel           B       "2.6.1.7.25"    "id-hat-body-part-security-label"
186 BodyPartTokens                          B       "2.6.1.7.26"    "id-hat-body-part-encryption-token"
187 AuthorizationTime                       B       "2.6.1.7.27"    "id-hat-authorization-time"
188 CirculationMember                       B       "2.6.1.7.28"    "id-hat-circulation-list-recipients"
189 DistributionCode                        B       "2.6.1.7.29"    "id-hat-distribution-codes"
190 ExtendedSubject                         B       "2.6.1.7.30"    "id-hat-extended-subject"
191 InformationCategory                     B       "2.6.1.7.31"    "id-hat-information-category"
192 ManualHandlingInstruction       B       "2.6.1.7.32"    "id-hat-manual-handling-instructions"
193 OriginatorsReference            B       "2.6.1.7.33"    "id-hat-originators-reference"
194 PrecedencePolicyIdentifier      B       "2.6.1.7.34"    "id-hat-precedence-policy-id"
195 ForwardedContentToken           B       "2.6.1.7.35"    "id-hat-forwarded-content-token"
196 #MessageToken                           B       "2.6.1.7.36"    "id-hat-forwarded-token" - see p1.cnf
197 Precedence                                      B       "2.6.1.7.37"    "id-hat-precedence"
198 BodyPartSignatureVerification   B       "2.6.1.7.38"    "id-hat-body-part-signature-verification-status"
200 Body                                            B       "2.6.1.8.0"     "id-bat-body"
202 # id-cat ID ::= {id-ipms  13} -- correlation attributes
203 CorrelatedDeliveredIPNs         B       "2.6.1.13.0"    "id-cat-correlated-delivered-ipns"
204 CorrelatedDeliveredReplies      B       "2.6.1.13.1"    "id-cat-correlated-delivered-replies"
205 DeliveredIPNStatus                      B       "2.6.1.13.2"    "id-cat-delivered-ipn-summary"
206 DeliveredReplyStatus            B       "2.6.1.13.3"    "id-cat-delivered-replies-summary"
207 #SequenceNumber                         B       "2.6.1.13.4"    "id-cat-forwarded-ipms"
208 #SequenceNumber                         B       "2.6.1.13.5"    "id-cat-forwarding-ipms"
209 #ORDescriptor                           B       "2.6.1.13.6"    "id-cat-ipm-recipients"
210 IPMLocation                                     B       "2.6.1.13.7"    "id-cat-obsoleted-ipms"
211 #SequenceNumber                         B       "2.6.1.13.8"    "id-cat-obsoleting-ipms"
212 #IPMLocation                            B       "2.6.1.13.9"    "id-cat-related-ipms"
213 #SequenceNumber                         B       "2.6.1.13.10"   "id-cat-relating-ipms"
214 #SequenceNumber                         B       "2.6.1.13.11"   "id-cat-replied-to-ipm"
215 #id-cat-replying-ipms           B       "2.6.1.13.12"   "id-cat-replying-ipms"
216 #ReplyTimeField                         B       "2.6.1.13.13"   "id-cat-revised-reply-time"
217 SubmittedIPNStatus                      B       "2.6.1.13.14"   "id-cat-submitted-ipn-status"
218 #SequenceNumber                         B       "2.6.1.13.15"   "id-cat-submitted-ipns"
219 SubmittedReplyStatus            B       "2.6.1.13.16"   "id-cat-submitted-reply-status"
220 #SequenceNumber                         B       "2.6.1.13.17"   "id-cat-subject-ipm"
221 RecipientCategory                       B       "2.6.1.13.18"   "id-cat-recipient-category"
223 # id-sec ID ::= {id-ipms  18} -- ipm security extensions
224 RecipientSecurityRequest        B       "2.6.1.18.0"    "id-sec-ipm-security-request"
225 IpnSecurityResponse                     B       "2.6.1.18.1"    "id-sec-security-common-fields"
227 #.FN_PARS IPMSExtension/type
228         FN_VARIANT = _str  VAL_PTR = &actx->external.direct_reference
230 #.FN_BODY IPMSExtension/type
231   const char *name = NULL;
233   %(DEFAULT_BODY)s
235   name = oid_resolved_from_string(actx->pinfo->pool, actx->external.direct_reference);
236   proto_item_append_text(tree, " (%%s)", name ? name : actx->external.direct_reference);
238 #.FN_BODY IPMSExtension/value
240   offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
242 #.FN_BODY IPM
244  col_append_str(actx->pinfo->cinfo, COL_INFO, " Message");
246   %(DEFAULT_BODY)s
249 #.FN_BODY IPN
251  col_append_str(actx->pinfo->cinfo, COL_INFO, " Notification");
253   %(DEFAULT_BODY)s
255 #.FN_PARS SubjectField
256   VAL_PTR=&subject
258 #.FN_BODY SubjectField
259   tvbuff_t *subject=NULL;
261   %(DEFAULT_BODY)s
263   if(subject)
264    col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", tvb_get_string_enc(actx->pinfo->pool, subject, 0,
265                                                                              tvb_reported_length(subject), ENC_T61));
267 #.TYPE_ATTR
268 SubjectField DISPLAY = BASE_NONE
270 #.TYPE_ATTR
271 TeletexData/_item DISPLAY = BASE_NONE
273 #.TYPE_ATTR
274 FreeFormName DISPLAY = BASE_NONE
276 #.TYPE_ATTR
277 VideotexData DISPLAY = BASE_NONE
279 #.FN_PARS CharacterSetRegistration
280   VAL_PTR=&crs
282 #.FN_BODY CharacterSetRegistration
283   uint32_t crs;
284   %(DEFAULT_BODY)s
286   if(actx->created_item)
287     proto_item_append_text(actx->created_item, " (%%s)", val_to_str_const(crs, charsetreg_vals, "unknown"));
289 #.FN_BODY Interchange-Data-Element
290 /* XXX Not implemented yet */
292 #.FN_BODY NationallyDefinedBodyPart
293 /* XXX Not implemented yet */
295 #.FN_BODY Contents-Type-Attribute/document-type/parameter
296 /* XXX: Not implemented yet */
298 #.FN_BODY CompressionParameter/compression-algorithm-id
299     offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_index, &actx->external.direct_reference);
301 #.FN_BODY CompressionParameter/compression-algorithm-param
302 /* XXX: Not implemented yet */
304 #.END