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