From Kovarththanan Rajaratnam via bug 3548:
[obnox/wireshark/wip.git] / epan / dissectors / packet-acp133.c
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
3 /* packet-acp133.c                                                            */
4 /* ../../tools/asn2wrs.py -b -p acp133 -c ./acp133.cnf -s ./packet-acp133-template -D . acp133.asn MHSDirectoryObjectsAndAttributes.asn */
5
6 /* Input file: packet-acp133-template.c */
7
8 #line 1 "packet-acp133-template.c"
9 /* packet-acp133.c
10  * Routines for ACP133 specific syntaxes in X.500 packet dissection
11  * Graeme Lunt 2005
12  *
13  * $Id$
14  *
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * This program is free software; you can redistribute it and/or
20  * modify it under the terms of the GNU General Public License
21  * as published by the Free Software Foundation; either version 2
22  * of the License, or (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  */
33
34 #ifdef HAVE_CONFIG_H
35 # include "config.h"
36 #endif
37
38 #include <glib.h>
39 #include <epan/packet.h>
40 #include <epan/asn1.h>
41 #include <epan/oids.h>
42
43 #include <stdio.h>
44 #include <string.h>
45
46 #include "packet-ber.h"
47
48 #include "packet-x509af.h"
49 #include "packet-x509if.h"
50 #include "packet-x509ce.h"
51 #include "packet-x411.h"
52
53 #include "packet-acp133.h"
54
55 #define PNAME  "ACP133 Attribute Syntaxes"
56 #define PSNAME "ACP133"
57 #define PFNAME "acp133"
58
59 /* Initialize the protocol and registered fields */
60 int proto_acp133 = -1;
61
62
63
64 /*--- Included file: packet-acp133-hf.c ---*/
65 #line 1 "packet-acp133-hf.c"
66 static int hf_acp133_ACPPreferredDelivery_PDU = -1;  /* ACPPreferredDelivery */
67 static int hf_acp133_ALType_PDU = -1;             /* ALType */
68 static int hf_acp133_Community_PDU = -1;          /* Community */
69 static int hf_acp133_OnSupported_PDU = -1;        /* OnSupported */
70 static int hf_acp133_ACPLegacyFormat_PDU = -1;    /* ACPLegacyFormat */
71 static int hf_acp133_Addressees_PDU = -1;         /* Addressees */
72 static int hf_acp133_Classification_PDU = -1;     /* Classification */
73 static int hf_acp133_DistributionCode_PDU = -1;   /* DistributionCode */
74 static int hf_acp133_JPEG_PDU = -1;               /* JPEG */
75 static int hf_acp133_MonthlyUKMs_PDU = -1;        /* MonthlyUKMs */
76 static int hf_acp133_Remarks_PDU = -1;            /* Remarks */
77 static int hf_acp133_RIParameters_PDU = -1;       /* RIParameters */
78 static int hf_acp133_Kmid_PDU = -1;               /* Kmid */
79 static int hf_acp133_MLReceiptPolicy_PDU = -1;    /* MLReceiptPolicy */
80 static int hf_acp133_DLSubmitPermission_PDU = -1;  /* DLSubmitPermission */
81 static int hf_acp133_DLPolicy_PDU = -1;           /* DLPolicy */
82 static int hf_acp133_AddressCapabilities_PDU = -1;  /* AddressCapabilities */
83 static int hf_acp133_Capability_PDU = -1;         /* Capability */
84 static int hf_acp133_Addressees_item = -1;        /* PrintableString_SIZE_1_55 */
85 static int hf_acp133_ukm_entries = -1;            /* SEQUENCE_OF_UKMEntry */
86 static int hf_acp133_ukm_entries_item = -1;       /* UKMEntry */
87 static int hf_acp133_algorithm_identifier = -1;   /* AlgorithmIdentifier */
88 static int hf_acp133_encrypted = -1;              /* BIT_STRING */
89 static int hf_acp133_Remarks_item = -1;           /* PrintableString */
90 static int hf_acp133_rI = -1;                     /* PrintableString */
91 static int hf_acp133_rIType = -1;                 /* T_rIType */
92 static int hf_acp133_minimize = -1;               /* BOOLEAN */
93 static int hf_acp133_sHD = -1;                    /* PrintableString */
94 static int hf_acp133_classification = -1;         /* Classification */
95 static int hf_acp133_tag = -1;                    /* PairwiseTag */
96 static int hf_acp133_ukm = -1;                    /* OCTET_STRING */
97 static int hf_acp133_kmid = -1;                   /* Kmid */
98 static int hf_acp133_edition = -1;                /* INTEGER */
99 static int hf_acp133_date = -1;                   /* UTCTime */
100 static int hf_acp133_none = -1;                   /* NULL */
101 static int hf_acp133_insteadOf = -1;              /* SEQUENCE_OF_GeneralNames */
102 static int hf_acp133_insteadOf_item = -1;         /* GeneralNames */
103 static int hf_acp133_inAdditionTo = -1;           /* SEQUENCE_OF_GeneralNames */
104 static int hf_acp133_inAdditionTo_item = -1;      /* GeneralNames */
105 static int hf_acp133_individual = -1;             /* ORName */
106 static int hf_acp133_member_of_dl = -1;           /* ORName */
107 static int hf_acp133_pattern_match = -1;          /* ORNamePattern */
108 static int hf_acp133_member_of_group = -1;        /* Name */
109 static int hf_acp133_report_propagation = -1;     /* T_report_propagation */
110 static int hf_acp133_report_from_dl = -1;         /* T_report_from_dl */
111 static int hf_acp133_originating_MTA_report = -1;  /* T_originating_MTA_report */
112 static int hf_acp133_originator_report = -1;      /* T_originator_report */
113 static int hf_acp133_return_of_content = -1;      /* T_return_of_content */
114 static int hf_acp133_priority = -1;               /* T_priority */
115 static int hf_acp133_disclosure_of_other_recipients = -1;  /* T_disclosure_of_other_recipients */
116 static int hf_acp133_implicit_conversion_prohibited = -1;  /* T_implicit_conversion_prohibited */
117 static int hf_acp133_conversion_with_loss_prohibited = -1;  /* T_conversion_with_loss_prohibited */
118 static int hf_acp133_further_dl_expansion_allowed = -1;  /* BOOLEAN */
119 static int hf_acp133_originator_requested_alternate_recipient_removed = -1;  /* BOOLEAN */
120 static int hf_acp133_proof_of_delivery = -1;      /* T_proof_of_delivery */
121 static int hf_acp133_requested_delivery_method = -1;  /* T_requested_delivery_method */
122 static int hf_acp133_unchanged = -1;              /* NULL */
123 static int hf_acp133_removed = -1;                /* NULL */
124 static int hf_acp133_replaced = -1;               /* RequestedDeliveryMethod */
125 static int hf_acp133_token_encryption_algorithm_preference = -1;  /* SEQUENCE_OF_AlgorithmInformation */
126 static int hf_acp133_token_encryption_algorithm_preference_item = -1;  /* AlgorithmInformation */
127 static int hf_acp133_token_signature_algorithm_preference = -1;  /* SEQUENCE_OF_AlgorithmInformation */
128 static int hf_acp133_token_signature_algorithm_preference_item = -1;  /* AlgorithmInformation */
129 static int hf_acp133_originator_certificate_selector = -1;  /* CertificateAssertion */
130 static int hf_acp133_recipient_certificate_selector = -1;  /* CertificateAssertion */
131 static int hf_acp133_description = -1;            /* GeneralString */
132 static int hf_acp133_address = -1;                /* ORAddress */
133 static int hf_acp133_capabilities = -1;           /* SET_OF_Capability */
134 static int hf_acp133_capabilities_item = -1;      /* Capability */
135 static int hf_acp133_content_types = -1;          /* SET_OF_ExtendedContentType */
136 static int hf_acp133_content_types_item = -1;     /* ExtendedContentType */
137 static int hf_acp133_maximum_content_length = -1;  /* ContentLength */
138 static int hf_acp133_encoded_information_types_constraints = -1;  /* EncodedInformationTypesConstraints */
139 static int hf_acp133_security_labels = -1;        /* SecurityContext */
140 /* named bits */
141 static int hf_acp133_OnSupported_acp127_nn = -1;
142 static int hf_acp133_OnSupported_acp127_pn = -1;
143 static int hf_acp133_OnSupported_acp127_tn = -1;
144
145 /*--- End of included file: packet-acp133-hf.c ---*/
146 #line 56 "packet-acp133-template.c"
147
148 /* Initialize the subtree pointers */
149 static gint ett_acp133 = -1;
150
151 /*--- Included file: packet-acp133-ett.c ---*/
152 #line 1 "packet-acp133-ett.c"
153 static gint ett_acp133_OnSupported = -1;
154 static gint ett_acp133_Addressees = -1;
155 static gint ett_acp133_MonthlyUKMs = -1;
156 static gint ett_acp133_SEQUENCE_OF_UKMEntry = -1;
157 static gint ett_acp133_Remarks = -1;
158 static gint ett_acp133_RIParameters = -1;
159 static gint ett_acp133_UKMEntry = -1;
160 static gint ett_acp133_PairwiseTag = -1;
161 static gint ett_acp133_MLReceiptPolicy = -1;
162 static gint ett_acp133_SEQUENCE_OF_GeneralNames = -1;
163 static gint ett_acp133_DLSubmitPermission = -1;
164 static gint ett_acp133_DLPolicy = -1;
165 static gint ett_acp133_T_requested_delivery_method = -1;
166 static gint ett_acp133_SEQUENCE_OF_AlgorithmInformation = -1;
167 static gint ett_acp133_AlgorithmInformation = -1;
168 static gint ett_acp133_AddressCapabilities = -1;
169 static gint ett_acp133_SET_OF_Capability = -1;
170 static gint ett_acp133_Capability = -1;
171 static gint ett_acp133_SET_OF_ExtendedContentType = -1;
172
173 /*--- End of included file: packet-acp133-ett.c ---*/
174 #line 60 "packet-acp133-template.c"
175
176
177 /*--- Included file: packet-acp133-fn.c ---*/
178 #line 1 "packet-acp133-fn.c"
179
180 static const value_string acp133_ACPPreferredDelivery_vals[] = {
181   {   0, "smtp" },
182   {   1, "acp127" },
183   {   2, "mhs" },
184   { 0, NULL }
185 };
186
187
188 static int
189 dissect_acp133_ACPPreferredDelivery(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
190   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
191                                   NULL);
192
193   return offset;
194 }
195
196
197 static const value_string acp133_ALType_vals[] = {
198   {   0, "aig" },
199   {   1, "type" },
200   {   2, "cad" },
201   {   3, "taskforce" },
202   {   4, "dag" },
203   { 0, NULL }
204 };
205
206
207 static int
208 dissect_acp133_ALType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
209   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
210                                                 NULL);
211
212   return offset;
213 }
214
215
216 static const value_string acp133_Community_vals[] = {
217   {   0, "genser" },
218   {   1, "si" },
219   {   2, "both" },
220   { 0, NULL }
221 };
222
223
224 static int
225 dissect_acp133_Community(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
226   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
227                                   NULL);
228
229   return offset;
230 }
231
232
233 static const asn_namedbit OnSupported_bits[] = {
234   {  0, &hf_acp133_OnSupported_acp127_nn, -1, -1, "acp127-nn", NULL },
235   {  1, &hf_acp133_OnSupported_acp127_pn, -1, -1, "acp127-pn", NULL },
236   {  2, &hf_acp133_OnSupported_acp127_tn, -1, -1, "acp127-tn", NULL },
237   { 0, NULL, 0, 0, NULL, NULL }
238 };
239
240 static int
241 dissect_acp133_OnSupported(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
242   offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset,
243                                     OnSupported_bits, hf_index, ett_acp133_OnSupported,
244                                     NULL);
245
246   return offset;
247 }
248
249
250 static const value_string acp133_ACPLegacyFormat_vals[] = {
251   {   0, "janap128" },
252   {   1, "acp126" },
253   {   2, "doi103" },
254   {   3, "doi103-special" },
255   {   4, "acp127" },
256   {   5, "acp127-converted" },
257   {   6, "reserved-1" },
258   {   7, "acp127-state" },
259   {   8, "acp127-modified" },
260   {   9, "socomm-special" },
261   {  10, "socomm-narrative" },
262   {  11, "reserved-2" },
263   {  12, "socomm-narrative-special" },
264   {  13, "socomm-data" },
265   {  14, "socomm-internal" },
266   {  15, "socomm-external" },
267   { 0, NULL }
268 };
269
270
271 static int
272 dissect_acp133_ACPLegacyFormat(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
273   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
274                                                 NULL);
275
276   return offset;
277 }
278
279
280
281 static int
282 dissect_acp133_PrintableString_SIZE_1_55(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
283   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString,
284                                             actx, tree, tvb, offset, hf_index,
285                                             NULL);
286
287   return offset;
288 }
289
290
291 static const ber_sequence_t Addressees_sequence_of[1] = {
292   { &hf_acp133_Addressees_item, BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_acp133_PrintableString_SIZE_1_55 },
293 };
294
295 static int
296 dissect_acp133_Addressees(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
297   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
298                                       Addressees_sequence_of, hf_index, ett_acp133_Addressees);
299
300   return offset;
301 }
302
303
304 static const value_string acp133_Classification_vals[] = {
305   {   0, "unmarked" },
306   {   1, "unclassified" },
307   {   2, "restricted" },
308   {   3, "confidential" },
309   {   4, "secret" },
310   {   5, "top-secret" },
311   { 0, NULL }
312 };
313
314
315 static int
316 dissect_acp133_Classification(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
317   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
318                                   NULL);
319
320   return offset;
321 }
322
323
324
325 static int
326 dissect_acp133_DistributionCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
327   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString,
328                                             actx, tree, tvb, offset, hf_index,
329                                             NULL);
330
331   return offset;
332 }
333
334
335
336 static int
337 dissect_acp133_JPEG(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
338   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
339                                        NULL);
340
341   return offset;
342 }
343
344
345
346 static int
347 dissect_acp133_Kmid(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
348   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
349                                        NULL);
350
351   return offset;
352 }
353
354
355
356 static int
357 dissect_acp133_INTEGER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
358   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
359                                                 NULL);
360
361   return offset;
362 }
363
364
365
366 static int
367 dissect_acp133_UTCTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
368   offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index);
369
370   return offset;
371 }
372
373
374 static const ber_sequence_t PairwiseTag_sequence[] = {
375   { &hf_acp133_kmid         , BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_acp133_Kmid },
376   { &hf_acp133_edition      , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_acp133_INTEGER },
377   { &hf_acp133_date         , BER_CLASS_UNI, BER_UNI_TAG_UTCTime, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_acp133_UTCTime },
378   { NULL, 0, 0, 0, NULL }
379 };
380
381 static int
382 dissect_acp133_PairwiseTag(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
383   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
384                                    PairwiseTag_sequence, hf_index, ett_acp133_PairwiseTag);
385
386   return offset;
387 }
388
389
390
391 static int
392 dissect_acp133_OCTET_STRING(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
393   offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
394                                        NULL);
395
396   return offset;
397 }
398
399
400 static const ber_sequence_t UKMEntry_sequence[] = {
401   { &hf_acp133_tag          , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_acp133_PairwiseTag },
402   { &hf_acp133_ukm          , BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_acp133_OCTET_STRING },
403   { NULL, 0, 0, 0, NULL }
404 };
405
406 static int
407 dissect_acp133_UKMEntry(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
408   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
409                                    UKMEntry_sequence, hf_index, ett_acp133_UKMEntry);
410
411   return offset;
412 }
413
414
415 static const ber_sequence_t SEQUENCE_OF_UKMEntry_sequence_of[1] = {
416   { &hf_acp133_ukm_entries_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_acp133_UKMEntry },
417 };
418
419 static int
420 dissect_acp133_SEQUENCE_OF_UKMEntry(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
421   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
422                                       SEQUENCE_OF_UKMEntry_sequence_of, hf_index, ett_acp133_SEQUENCE_OF_UKMEntry);
423
424   return offset;
425 }
426
427
428
429 static int
430 dissect_acp133_BIT_STRING(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
431   offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset,
432                                     NULL, hf_index, -1,
433                                     NULL);
434
435   return offset;
436 }
437
438
439 static const ber_sequence_t MonthlyUKMs_sequence[] = {
440   { &hf_acp133_ukm_entries  , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_acp133_SEQUENCE_OF_UKMEntry },
441   { &hf_acp133_algorithm_identifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier },
442   { &hf_acp133_encrypted    , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_acp133_BIT_STRING },
443   { NULL, 0, 0, 0, NULL }
444 };
445
446 static int
447 dissect_acp133_MonthlyUKMs(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
448   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
449                                    MonthlyUKMs_sequence, hf_index, ett_acp133_MonthlyUKMs);
450
451   return offset;
452 }
453
454
455
456 static int
457 dissect_acp133_PrintableString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
458   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString,
459                                             actx, tree, tvb, offset, hf_index,
460                                             NULL);
461
462   return offset;
463 }
464
465
466 static const ber_sequence_t Remarks_sequence_of[1] = {
467   { &hf_acp133_Remarks_item , BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_acp133_PrintableString },
468 };
469
470 static int
471 dissect_acp133_Remarks(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
472   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
473                                       Remarks_sequence_of, hf_index, ett_acp133_Remarks);
474
475   return offset;
476 }
477
478
479 static const value_string acp133_T_rIType_vals[] = {
480   {   0, "normal" },
481   {   1, "off-line" },
482   {   2, "partTimeTerminal" },
483   { 0, NULL }
484 };
485
486
487 static int
488 dissect_acp133_T_rIType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
489   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
490                                   NULL);
491
492   return offset;
493 }
494
495
496
497 static int
498 dissect_acp133_BOOLEAN(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
499   offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
500
501   return offset;
502 }
503
504
505 static const ber_sequence_t RIParameters_set[] = {
506   { &hf_acp133_rI           , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_acp133_PrintableString },
507   { &hf_acp133_rIType       , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_acp133_T_rIType },
508   { &hf_acp133_minimize     , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_acp133_BOOLEAN },
509   { &hf_acp133_sHD          , BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_acp133_PrintableString },
510   { &hf_acp133_classification, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_acp133_Classification },
511   { NULL, 0, 0, 0, NULL }
512 };
513
514 static int
515 dissect_acp133_RIParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
516   offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
517                               RIParameters_set, hf_index, ett_acp133_RIParameters);
518
519   return offset;
520 }
521
522
523
524 static int
525 dissect_acp133_NULL(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
526   offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index);
527
528   return offset;
529 }
530
531
532 static const ber_sequence_t SEQUENCE_OF_GeneralNames_sequence_of[1] = {
533   { &hf_acp133_insteadOf_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509ce_GeneralNames },
534 };
535
536 static int
537 dissect_acp133_SEQUENCE_OF_GeneralNames(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
538   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
539                                       SEQUENCE_OF_GeneralNames_sequence_of, hf_index, ett_acp133_SEQUENCE_OF_GeneralNames);
540
541   return offset;
542 }
543
544
545 static const value_string acp133_MLReceiptPolicy_vals[] = {
546   {   0, "none" },
547   {   1, "insteadOf" },
548   {   2, "inAdditionTo" },
549   { 0, NULL }
550 };
551
552 static const ber_choice_t MLReceiptPolicy_choice[] = {
553   {   0, &hf_acp133_none         , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_acp133_NULL },
554   {   1, &hf_acp133_insteadOf    , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_acp133_SEQUENCE_OF_GeneralNames },
555   {   2, &hf_acp133_inAdditionTo , BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_acp133_SEQUENCE_OF_GeneralNames },
556   { 0, NULL, 0, 0, 0, NULL }
557 };
558
559 static int
560 dissect_acp133_MLReceiptPolicy(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
561   offset = dissect_ber_choice(actx, tree, tvb, offset,
562                                  MLReceiptPolicy_choice, hf_index, ett_acp133_MLReceiptPolicy,
563                                  NULL);
564
565   return offset;
566 }
567
568
569
570 static int
571 dissect_acp133_ORNamePattern(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
572   offset = dissect_x411_ORName(implicit_tag, tvb, offset, actx, tree, hf_index);
573
574   return offset;
575 }
576
577
578 static const value_string acp133_DLSubmitPermission_vals[] = {
579   {   0, "individual" },
580   {   1, "member-of-dl" },
581   {   2, "pattern-match" },
582   {   3, "member-of-group" },
583   { 0, NULL }
584 };
585
586 static const ber_choice_t DLSubmitPermission_choice[] = {
587   {   0, &hf_acp133_individual   , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x411_ORName },
588   {   1, &hf_acp133_member_of_dl , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_x411_ORName },
589   {   2, &hf_acp133_pattern_match, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_acp133_ORNamePattern },
590   {   3, &hf_acp133_member_of_group, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_x509if_Name },
591   { 0, NULL, 0, 0, 0, NULL }
592 };
593
594 static int
595 dissect_acp133_DLSubmitPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
596   offset = dissect_ber_choice(actx, tree, tvb, offset,
597                                  DLSubmitPermission_choice, hf_index, ett_acp133_DLSubmitPermission,
598                                  NULL);
599
600   return offset;
601 }
602
603
604 static const value_string acp133_T_report_propagation_vals[] = {
605   {   0, "previous-dl-or-originator" },
606   {   1, "dl-owner" },
607   {   2, "both-previous-and-owner" },
608   { 0, NULL }
609 };
610
611
612 static int
613 dissect_acp133_T_report_propagation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
614   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
615                                                 NULL);
616
617   return offset;
618 }
619
620
621 static const value_string acp133_T_report_from_dl_vals[] = {
622   {   0, "whenever-requested" },
623   {   1, "when-no-propagation" },
624   { 0, NULL }
625 };
626
627
628 static int
629 dissect_acp133_T_report_from_dl(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
630   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
631                                                 NULL);
632
633   return offset;
634 }
635
636
637 static const value_string acp133_T_originating_MTA_report_vals[] = {
638   {   0, "unchanged" },
639   {   2, "report" },
640   {   3, "non-delivery-report" },
641   {   4, "audited-report" },
642   { 0, NULL }
643 };
644
645
646 static int
647 dissect_acp133_T_originating_MTA_report(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
648   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
649                                                 NULL);
650
651   return offset;
652 }
653
654
655 static const value_string acp133_T_originator_report_vals[] = {
656   {   0, "unchanged" },
657   {   1, "no-report" },
658   {   2, "report" },
659   {   3, "non-delivery-report" },
660   { 0, NULL }
661 };
662
663
664 static int
665 dissect_acp133_T_originator_report(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
666   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
667                                                 NULL);
668
669   return offset;
670 }
671
672
673 static const value_string acp133_T_return_of_content_vals[] = {
674   {   0, "unchanged" },
675   {   1, "content-return-not-requested" },
676   {   2, "content-return-requested" },
677   { 0, NULL }
678 };
679
680
681 static int
682 dissect_acp133_T_return_of_content(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
683   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
684                                   NULL);
685
686   return offset;
687 }
688
689
690 static const value_string acp133_T_priority_vals[] = {
691   {   0, "unchanged" },
692   {   1, "normal" },
693   {   2, "non-urgent" },
694   {   3, "urgent" },
695   { 0, NULL }
696 };
697
698
699 static int
700 dissect_acp133_T_priority(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
701   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
702                                                 NULL);
703
704   return offset;
705 }
706
707
708 static const value_string acp133_T_disclosure_of_other_recipients_vals[] = {
709   {   0, "unchanged" },
710   {   1, "disclosure-of-other-recipients-prohibited" },
711   {   2, "disclosure-of-other-recipients-allowed" },
712   { 0, NULL }
713 };
714
715
716 static int
717 dissect_acp133_T_disclosure_of_other_recipients(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
718   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
719                                   NULL);
720
721   return offset;
722 }
723
724
725 static const value_string acp133_T_implicit_conversion_prohibited_vals[] = {
726   {   0, "unchanged" },
727   {   1, "implicit-conversion-allowed" },
728   {   2, "implicit-conversion-prohibited" },
729   { 0, NULL }
730 };
731
732
733 static int
734 dissect_acp133_T_implicit_conversion_prohibited(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
735   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
736                                   NULL);
737
738   return offset;
739 }
740
741
742 static const value_string acp133_T_conversion_with_loss_prohibited_vals[] = {
743   {   0, "unchanged" },
744   {   1, "conversion-with-loss-allowed" },
745   {   2, "conversion-with-loss-prohibited" },
746   { 0, NULL }
747 };
748
749
750 static int
751 dissect_acp133_T_conversion_with_loss_prohibited(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
752   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
753                                   NULL);
754
755   return offset;
756 }
757
758
759 static const value_string acp133_T_proof_of_delivery_vals[] = {
760   {   0, "dl-expansion-point" },
761   {   1, "dl-members" },
762   {   2, "both" },
763   {   3, "neither" },
764   { 0, NULL }
765 };
766
767
768 static int
769 dissect_acp133_T_proof_of_delivery(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
770   offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
771                                                 NULL);
772
773   return offset;
774 }
775
776
777 static const value_string acp133_T_requested_delivery_method_vals[] = {
778   {   0, "unchanged" },
779   {   1, "removed" },
780   {   2, "replaced" },
781   { 0, NULL }
782 };
783
784 static const ber_choice_t T_requested_delivery_method_choice[] = {
785   {   0, &hf_acp133_unchanged    , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_acp133_NULL },
786   {   1, &hf_acp133_removed      , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_acp133_NULL },
787   {   2, &hf_acp133_replaced     , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x411_RequestedDeliveryMethod },
788   { 0, NULL, 0, 0, 0, NULL }
789 };
790
791 static int
792 dissect_acp133_T_requested_delivery_method(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
793   offset = dissect_ber_choice(actx, tree, tvb, offset,
794                                  T_requested_delivery_method_choice, hf_index, ett_acp133_T_requested_delivery_method,
795                                  NULL);
796
797   return offset;
798 }
799
800
801 static const ber_sequence_t AlgorithmInformation_sequence[] = {
802   { &hf_acp133_algorithm_identifier, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x509af_AlgorithmIdentifier },
803   { &hf_acp133_originator_certificate_selector, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CertificateAssertion },
804   { &hf_acp133_recipient_certificate_selector, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x509ce_CertificateAssertion },
805   { NULL, 0, 0, 0, NULL }
806 };
807
808 static int
809 dissect_acp133_AlgorithmInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
810   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
811                                    AlgorithmInformation_sequence, hf_index, ett_acp133_AlgorithmInformation);
812
813   return offset;
814 }
815
816
817 static const ber_sequence_t SEQUENCE_OF_AlgorithmInformation_sequence_of[1] = {
818   { &hf_acp133_token_encryption_algorithm_preference_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_acp133_AlgorithmInformation },
819 };
820
821 static int
822 dissect_acp133_SEQUENCE_OF_AlgorithmInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
823   offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
824                                       SEQUENCE_OF_AlgorithmInformation_sequence_of, hf_index, ett_acp133_SEQUENCE_OF_AlgorithmInformation);
825
826   return offset;
827 }
828
829
830 static const ber_sequence_t DLPolicy_set[] = {
831   { &hf_acp133_report_propagation, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_report_propagation },
832   { &hf_acp133_report_from_dl, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_report_from_dl },
833   { &hf_acp133_originating_MTA_report, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_originating_MTA_report },
834   { &hf_acp133_originator_report, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_originator_report },
835   { &hf_acp133_return_of_content, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_return_of_content },
836   { &hf_acp133_priority     , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_priority },
837   { &hf_acp133_disclosure_of_other_recipients, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_disclosure_of_other_recipients },
838   { &hf_acp133_implicit_conversion_prohibited, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_implicit_conversion_prohibited },
839   { &hf_acp133_conversion_with_loss_prohibited, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_conversion_with_loss_prohibited },
840   { &hf_acp133_further_dl_expansion_allowed, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_BOOLEAN },
841   { &hf_acp133_originator_requested_alternate_recipient_removed, BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_BOOLEAN },
842   { &hf_acp133_proof_of_delivery, BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_proof_of_delivery },
843   { &hf_acp133_requested_delivery_method, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_T_requested_delivery_method },
844   { &hf_acp133_token_encryption_algorithm_preference, BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_SEQUENCE_OF_AlgorithmInformation },
845   { &hf_acp133_token_signature_algorithm_preference, BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_SEQUENCE_OF_AlgorithmInformation },
846   { NULL, 0, 0, 0, NULL }
847 };
848
849 static int
850 dissect_acp133_DLPolicy(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
851   offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
852                               DLPolicy_set, hf_index, ett_acp133_DLPolicy);
853
854   return offset;
855 }
856
857
858
859 static int
860 dissect_acp133_GeneralString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
861   offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_GeneralString,
862                                             actx, tree, tvb, offset, hf_index,
863                                             NULL);
864
865   return offset;
866 }
867
868
869 static const ber_sequence_t SET_OF_ExtendedContentType_set_of[1] = {
870   { &hf_acp133_content_types_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x411_ExtendedContentType },
871 };
872
873 static int
874 dissect_acp133_SET_OF_ExtendedContentType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
875   offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
876                                  SET_OF_ExtendedContentType_set_of, hf_index, ett_acp133_SET_OF_ExtendedContentType);
877
878   return offset;
879 }
880
881
882 static const ber_sequence_t Capability_set[] = {
883   { &hf_acp133_content_types, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_acp133_SET_OF_ExtendedContentType },
884   { &hf_acp133_maximum_content_length, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x411_ContentLength },
885   { &hf_acp133_encoded_information_types_constraints, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x411_EncodedInformationTypesConstraints },
886   { &hf_acp133_security_labels, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_x411_SecurityContext },
887   { NULL, 0, 0, 0, NULL }
888 };
889
890 static int
891 dissect_acp133_Capability(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
892   offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
893                               Capability_set, hf_index, ett_acp133_Capability);
894
895   return offset;
896 }
897
898
899 static const ber_sequence_t SET_OF_Capability_set_of[1] = {
900   { &hf_acp133_capabilities_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_acp133_Capability },
901 };
902
903 static int
904 dissect_acp133_SET_OF_Capability(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
905   offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
906                                  SET_OF_Capability_set_of, hf_index, ett_acp133_SET_OF_Capability);
907
908   return offset;
909 }
910
911
912 static const ber_sequence_t AddressCapabilities_sequence[] = {
913   { &hf_acp133_description  , BER_CLASS_UNI, BER_UNI_TAG_GeneralString, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_acp133_GeneralString },
914   { &hf_acp133_address      , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x411_ORAddress },
915   { &hf_acp133_capabilities , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_acp133_SET_OF_Capability },
916   { NULL, 0, 0, 0, NULL }
917 };
918
919 static int
920 dissect_acp133_AddressCapabilities(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
921   offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
922                                    AddressCapabilities_sequence, hf_index, ett_acp133_AddressCapabilities);
923
924   return offset;
925 }
926
927 /*--- PDUs ---*/
928
929 static void dissect_ACPPreferredDelivery_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
930   asn1_ctx_t asn1_ctx;
931   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
932   dissect_acp133_ACPPreferredDelivery(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_ACPPreferredDelivery_PDU);
933 }
934 static void dissect_ALType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
935   asn1_ctx_t asn1_ctx;
936   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
937   dissect_acp133_ALType(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_ALType_PDU);
938 }
939 static void dissect_Community_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
940   asn1_ctx_t asn1_ctx;
941   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
942   dissect_acp133_Community(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_Community_PDU);
943 }
944 static void dissect_OnSupported_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
945   asn1_ctx_t asn1_ctx;
946   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
947   dissect_acp133_OnSupported(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_OnSupported_PDU);
948 }
949 static void dissect_ACPLegacyFormat_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
950   asn1_ctx_t asn1_ctx;
951   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
952   dissect_acp133_ACPLegacyFormat(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_ACPLegacyFormat_PDU);
953 }
954 static void dissect_Addressees_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
955   asn1_ctx_t asn1_ctx;
956   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
957   dissect_acp133_Addressees(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_Addressees_PDU);
958 }
959 static void dissect_Classification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
960   asn1_ctx_t asn1_ctx;
961   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
962   dissect_acp133_Classification(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_Classification_PDU);
963 }
964 static void dissect_DistributionCode_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
965   asn1_ctx_t asn1_ctx;
966   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
967   dissect_acp133_DistributionCode(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_DistributionCode_PDU);
968 }
969 static void dissect_JPEG_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
970   asn1_ctx_t asn1_ctx;
971   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
972   dissect_acp133_JPEG(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_JPEG_PDU);
973 }
974 static void dissect_MonthlyUKMs_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
975   asn1_ctx_t asn1_ctx;
976   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
977   dissect_acp133_MonthlyUKMs(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_MonthlyUKMs_PDU);
978 }
979 static void dissect_Remarks_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
980   asn1_ctx_t asn1_ctx;
981   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
982   dissect_acp133_Remarks(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_Remarks_PDU);
983 }
984 static void dissect_RIParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
985   asn1_ctx_t asn1_ctx;
986   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
987   dissect_acp133_RIParameters(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_RIParameters_PDU);
988 }
989 static void dissect_Kmid_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
990   asn1_ctx_t asn1_ctx;
991   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
992   dissect_acp133_Kmid(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_Kmid_PDU);
993 }
994 static void dissect_MLReceiptPolicy_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
995   asn1_ctx_t asn1_ctx;
996   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
997   dissect_acp133_MLReceiptPolicy(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_MLReceiptPolicy_PDU);
998 }
999 static void dissect_DLSubmitPermission_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
1000   asn1_ctx_t asn1_ctx;
1001   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
1002   dissect_acp133_DLSubmitPermission(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_DLSubmitPermission_PDU);
1003 }
1004 static void dissect_DLPolicy_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
1005   asn1_ctx_t asn1_ctx;
1006   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
1007   dissect_acp133_DLPolicy(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_DLPolicy_PDU);
1008 }
1009 static void dissect_AddressCapabilities_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
1010   asn1_ctx_t asn1_ctx;
1011   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
1012   dissect_acp133_AddressCapabilities(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_AddressCapabilities_PDU);
1013 }
1014 static void dissect_Capability_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
1015   asn1_ctx_t asn1_ctx;
1016   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
1017   dissect_acp133_Capability(FALSE, tvb, 0, &asn1_ctx, tree, hf_acp133_Capability_PDU);
1018 }
1019
1020
1021 /*--- End of included file: packet-acp133-fn.c ---*/
1022 #line 62 "packet-acp133-template.c"
1023
1024
1025 /*--- proto_register_acp133 -------------------------------------------*/
1026 void proto_register_acp133(void) {
1027
1028   /* List of fields */
1029   static hf_register_info hf[] =
1030   {
1031
1032 /*--- Included file: packet-acp133-hfarr.c ---*/
1033 #line 1 "packet-acp133-hfarr.c"
1034     { &hf_acp133_ACPPreferredDelivery_PDU,
1035       { "ACPPreferredDelivery", "acp133.ACPPreferredDelivery",
1036         FT_UINT32, BASE_DEC, VALS(acp133_ACPPreferredDelivery_vals), 0,
1037         "acp133.ACPPreferredDelivery", HFILL }},
1038     { &hf_acp133_ALType_PDU,
1039       { "ALType", "acp133.ALType",
1040         FT_INT32, BASE_DEC, VALS(acp133_ALType_vals), 0,
1041         "acp133.ALType", HFILL }},
1042     { &hf_acp133_Community_PDU,
1043       { "Community", "acp133.Community",
1044         FT_UINT32, BASE_DEC, VALS(acp133_Community_vals), 0,
1045         "acp133.Community", HFILL }},
1046     { &hf_acp133_OnSupported_PDU,
1047       { "OnSupported", "acp133.OnSupported",
1048         FT_BYTES, BASE_NONE, NULL, 0,
1049         "acp133.OnSupported", HFILL }},
1050     { &hf_acp133_ACPLegacyFormat_PDU,
1051       { "ACPLegacyFormat", "acp133.ACPLegacyFormat",
1052         FT_INT32, BASE_DEC, VALS(acp133_ACPLegacyFormat_vals), 0,
1053         "acp133.ACPLegacyFormat", HFILL }},
1054     { &hf_acp133_Addressees_PDU,
1055       { "Addressees", "acp133.Addressees",
1056         FT_UINT32, BASE_DEC, NULL, 0,
1057         "acp133.Addressees", HFILL }},
1058     { &hf_acp133_Classification_PDU,
1059       { "Classification", "acp133.Classification",
1060         FT_UINT32, BASE_DEC, VALS(acp133_Classification_vals), 0,
1061         "acp133.Classification", HFILL }},
1062     { &hf_acp133_DistributionCode_PDU,
1063       { "DistributionCode", "acp133.DistributionCode",
1064         FT_STRING, BASE_NONE, NULL, 0,
1065         "acp133.DistributionCode", HFILL }},
1066     { &hf_acp133_JPEG_PDU,
1067       { "JPEG", "acp133.JPEG",
1068         FT_BYTES, BASE_NONE, NULL, 0,
1069         "acp133.JPEG", HFILL }},
1070     { &hf_acp133_MonthlyUKMs_PDU,
1071       { "MonthlyUKMs", "acp133.MonthlyUKMs",
1072         FT_NONE, BASE_NONE, NULL, 0,
1073         "acp133.MonthlyUKMs", HFILL }},
1074     { &hf_acp133_Remarks_PDU,
1075       { "Remarks", "acp133.Remarks",
1076         FT_UINT32, BASE_DEC, NULL, 0,
1077         "acp133.Remarks", HFILL }},
1078     { &hf_acp133_RIParameters_PDU,
1079       { "RIParameters", "acp133.RIParameters",
1080         FT_NONE, BASE_NONE, NULL, 0,
1081         "acp133.RIParameters", HFILL }},
1082     { &hf_acp133_Kmid_PDU,
1083       { "Kmid", "acp133.Kmid",
1084         FT_BYTES, BASE_NONE, NULL, 0,
1085         "acp133.Kmid", HFILL }},
1086     { &hf_acp133_MLReceiptPolicy_PDU,
1087       { "MLReceiptPolicy", "acp133.MLReceiptPolicy",
1088         FT_UINT32, BASE_DEC, VALS(acp133_MLReceiptPolicy_vals), 0,
1089         "acp133.MLReceiptPolicy", HFILL }},
1090     { &hf_acp133_DLSubmitPermission_PDU,
1091       { "DLSubmitPermission", "acp133.DLSubmitPermission",
1092         FT_UINT32, BASE_DEC, VALS(acp133_DLSubmitPermission_vals), 0,
1093         "acp133.DLSubmitPermission", HFILL }},
1094     { &hf_acp133_DLPolicy_PDU,
1095       { "DLPolicy", "acp133.DLPolicy",
1096         FT_NONE, BASE_NONE, NULL, 0,
1097         "acp133.DLPolicy", HFILL }},
1098     { &hf_acp133_AddressCapabilities_PDU,
1099       { "AddressCapabilities", "acp133.AddressCapabilities",
1100         FT_NONE, BASE_NONE, NULL, 0,
1101         "acp133.AddressCapabilities", HFILL }},
1102     { &hf_acp133_Capability_PDU,
1103       { "Capability", "acp133.Capability",
1104         FT_NONE, BASE_NONE, NULL, 0,
1105         "acp133.Capability", HFILL }},
1106     { &hf_acp133_Addressees_item,
1107       { "Addressees item", "acp133.Addressees_item",
1108         FT_STRING, BASE_NONE, NULL, 0,
1109         "acp133.PrintableString_SIZE_1_55", HFILL }},
1110     { &hf_acp133_ukm_entries,
1111       { "ukm-entries", "acp133.ukm_entries",
1112         FT_UINT32, BASE_DEC, NULL, 0,
1113         "acp133.SEQUENCE_OF_UKMEntry", HFILL }},
1114     { &hf_acp133_ukm_entries_item,
1115       { "UKMEntry", "acp133.UKMEntry",
1116         FT_NONE, BASE_NONE, NULL, 0,
1117         "acp133.UKMEntry", HFILL }},
1118     { &hf_acp133_algorithm_identifier,
1119       { "algorithm-identifier", "acp133.algorithm_identifier",
1120         FT_NONE, BASE_NONE, NULL, 0,
1121         "x509af.AlgorithmIdentifier", HFILL }},
1122     { &hf_acp133_encrypted,
1123       { "encrypted", "acp133.encrypted",
1124         FT_BYTES, BASE_NONE, NULL, 0,
1125         "acp133.BIT_STRING", HFILL }},
1126     { &hf_acp133_Remarks_item,
1127       { "Remarks item", "acp133.Remarks_item",
1128         FT_STRING, BASE_NONE, NULL, 0,
1129         "acp133.PrintableString", HFILL }},
1130     { &hf_acp133_rI,
1131       { "rI", "acp133.rI",
1132         FT_STRING, BASE_NONE, NULL, 0,
1133         "acp133.PrintableString", HFILL }},
1134     { &hf_acp133_rIType,
1135       { "rIType", "acp133.rIType",
1136         FT_UINT32, BASE_DEC, VALS(acp133_T_rIType_vals), 0,
1137         "acp133.T_rIType", HFILL }},
1138     { &hf_acp133_minimize,
1139       { "minimize", "acp133.minimize",
1140         FT_BOOLEAN, BASE_NONE, NULL, 0x0,
1141         "acp133.BOOLEAN", HFILL }},
1142     { &hf_acp133_sHD,
1143       { "sHD", "acp133.sHD",
1144         FT_STRING, BASE_NONE, NULL, 0,
1145         "acp133.PrintableString", HFILL }},
1146     { &hf_acp133_classification,
1147       { "classification", "acp133.classification",
1148         FT_UINT32, BASE_DEC, VALS(acp133_Classification_vals), 0,
1149         "acp133.Classification", HFILL }},
1150     { &hf_acp133_tag,
1151       { "tag", "acp133.tag",
1152         FT_NONE, BASE_NONE, NULL, 0,
1153         "acp133.PairwiseTag", HFILL }},
1154     { &hf_acp133_ukm,
1155       { "ukm", "acp133.ukm",
1156         FT_BYTES, BASE_NONE, NULL, 0,
1157         "acp133.OCTET_STRING", HFILL }},
1158     { &hf_acp133_kmid,
1159       { "kmid", "acp133.kmid",
1160         FT_BYTES, BASE_NONE, NULL, 0,
1161         "acp133.Kmid", HFILL }},
1162     { &hf_acp133_edition,
1163       { "edition", "acp133.edition",
1164         FT_INT32, BASE_DEC, NULL, 0,
1165         "acp133.INTEGER", HFILL }},
1166     { &hf_acp133_date,
1167       { "date", "acp133.date",
1168         FT_STRING, BASE_NONE, NULL, 0,
1169         "acp133.UTCTime", HFILL }},
1170     { &hf_acp133_none,
1171       { "none", "acp133.none",
1172         FT_NONE, BASE_NONE, NULL, 0,
1173         "acp133.NULL", HFILL }},
1174     { &hf_acp133_insteadOf,
1175       { "insteadOf", "acp133.insteadOf",
1176         FT_UINT32, BASE_DEC, NULL, 0,
1177         "acp133.SEQUENCE_OF_GeneralNames", HFILL }},
1178     { &hf_acp133_insteadOf_item,
1179       { "GeneralNames", "acp133.GeneralNames",
1180         FT_UINT32, BASE_DEC, NULL, 0,
1181         "x509ce.GeneralNames", HFILL }},
1182     { &hf_acp133_inAdditionTo,
1183       { "inAdditionTo", "acp133.inAdditionTo",
1184         FT_UINT32, BASE_DEC, NULL, 0,
1185         "acp133.SEQUENCE_OF_GeneralNames", HFILL }},
1186     { &hf_acp133_inAdditionTo_item,
1187       { "GeneralNames", "acp133.GeneralNames",
1188         FT_UINT32, BASE_DEC, NULL, 0,
1189         "x509ce.GeneralNames", HFILL }},
1190     { &hf_acp133_individual,
1191       { "individual", "acp133.individual",
1192         FT_NONE, BASE_NONE, NULL, 0,
1193         "x411.ORName", HFILL }},
1194     { &hf_acp133_member_of_dl,
1195       { "member-of-dl", "acp133.member_of_dl",
1196         FT_NONE, BASE_NONE, NULL, 0,
1197         "x411.ORName", HFILL }},
1198     { &hf_acp133_pattern_match,
1199       { "pattern-match", "acp133.pattern_match",
1200         FT_NONE, BASE_NONE, NULL, 0,
1201         "acp133.ORNamePattern", HFILL }},
1202     { &hf_acp133_member_of_group,
1203       { "member-of-group", "acp133.member_of_group",
1204         FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0,
1205         "x509if.Name", HFILL }},
1206     { &hf_acp133_report_propagation,
1207       { "report-propagation", "acp133.report_propagation",
1208         FT_INT32, BASE_DEC, VALS(acp133_T_report_propagation_vals), 0,
1209         "acp133.T_report_propagation", HFILL }},
1210     { &hf_acp133_report_from_dl,
1211       { "report-from-dl", "acp133.report_from_dl",
1212         FT_INT32, BASE_DEC, VALS(acp133_T_report_from_dl_vals), 0,
1213         "acp133.T_report_from_dl", HFILL }},
1214     { &hf_acp133_originating_MTA_report,
1215       { "originating-MTA-report", "acp133.originating_MTA_report",
1216         FT_INT32, BASE_DEC, VALS(acp133_T_originating_MTA_report_vals), 0,
1217         "acp133.T_originating_MTA_report", HFILL }},
1218     { &hf_acp133_originator_report,
1219       { "originator-report", "acp133.originator_report",
1220         FT_INT32, BASE_DEC, VALS(acp133_T_originator_report_vals), 0,
1221         "acp133.T_originator_report", HFILL }},
1222     { &hf_acp133_return_of_content,
1223       { "return-of-content", "acp133.return_of_content",
1224         FT_UINT32, BASE_DEC, VALS(acp133_T_return_of_content_vals), 0,
1225         "acp133.T_return_of_content", HFILL }},
1226     { &hf_acp133_priority,
1227       { "priority", "acp133.priority",
1228         FT_INT32, BASE_DEC, VALS(acp133_T_priority_vals), 0,
1229         "acp133.T_priority", HFILL }},
1230     { &hf_acp133_disclosure_of_other_recipients,
1231       { "disclosure-of-other-recipients", "acp133.disclosure_of_other_recipients",
1232         FT_UINT32, BASE_DEC, VALS(acp133_T_disclosure_of_other_recipients_vals), 0,
1233         "acp133.T_disclosure_of_other_recipients", HFILL }},
1234     { &hf_acp133_implicit_conversion_prohibited,
1235       { "implicit-conversion-prohibited", "acp133.implicit_conversion_prohibited",
1236         FT_UINT32, BASE_DEC, VALS(acp133_T_implicit_conversion_prohibited_vals), 0,
1237         "acp133.T_implicit_conversion_prohibited", HFILL }},
1238     { &hf_acp133_conversion_with_loss_prohibited,
1239       { "conversion-with-loss-prohibited", "acp133.conversion_with_loss_prohibited",
1240         FT_UINT32, BASE_DEC, VALS(acp133_T_conversion_with_loss_prohibited_vals), 0,
1241         "acp133.T_conversion_with_loss_prohibited", HFILL }},
1242     { &hf_acp133_further_dl_expansion_allowed,
1243       { "further-dl-expansion-allowed", "acp133.further_dl_expansion_allowed",
1244         FT_BOOLEAN, BASE_NONE, NULL, 0x0,
1245         "acp133.BOOLEAN", HFILL }},
1246     { &hf_acp133_originator_requested_alternate_recipient_removed,
1247       { "originator-requested-alternate-recipient-removed", "acp133.originator_requested_alternate_recipient_removed",
1248         FT_BOOLEAN, BASE_NONE, NULL, 0x0,
1249         "acp133.BOOLEAN", HFILL }},
1250     { &hf_acp133_proof_of_delivery,
1251       { "proof-of-delivery", "acp133.proof_of_delivery",
1252         FT_INT32, BASE_DEC, VALS(acp133_T_proof_of_delivery_vals), 0,
1253         "acp133.T_proof_of_delivery", HFILL }},
1254     { &hf_acp133_requested_delivery_method,
1255       { "requested-delivery-method", "acp133.requested_delivery_method",
1256         FT_UINT32, BASE_DEC, VALS(acp133_T_requested_delivery_method_vals), 0,
1257         "acp133.T_requested_delivery_method", HFILL }},
1258     { &hf_acp133_unchanged,
1259       { "unchanged", "acp133.unchanged",
1260         FT_NONE, BASE_NONE, NULL, 0,
1261         "acp133.NULL", HFILL }},
1262     { &hf_acp133_removed,
1263       { "removed", "acp133.removed",
1264         FT_NONE, BASE_NONE, NULL, 0,
1265         "acp133.NULL", HFILL }},
1266     { &hf_acp133_replaced,
1267       { "replaced", "acp133.replaced",
1268         FT_UINT32, BASE_DEC, NULL, 0,
1269         "x411.RequestedDeliveryMethod", HFILL }},
1270     { &hf_acp133_token_encryption_algorithm_preference,
1271       { "token-encryption-algorithm-preference", "acp133.token_encryption_algorithm_preference",
1272         FT_UINT32, BASE_DEC, NULL, 0,
1273         "acp133.SEQUENCE_OF_AlgorithmInformation", HFILL }},
1274     { &hf_acp133_token_encryption_algorithm_preference_item,
1275       { "AlgorithmInformation", "acp133.AlgorithmInformation",
1276         FT_NONE, BASE_NONE, NULL, 0,
1277         "acp133.AlgorithmInformation", HFILL }},
1278     { &hf_acp133_token_signature_algorithm_preference,
1279       { "token-signature-algorithm-preference", "acp133.token_signature_algorithm_preference",
1280         FT_UINT32, BASE_DEC, NULL, 0,
1281         "acp133.SEQUENCE_OF_AlgorithmInformation", HFILL }},
1282     { &hf_acp133_token_signature_algorithm_preference_item,
1283       { "AlgorithmInformation", "acp133.AlgorithmInformation",
1284         FT_NONE, BASE_NONE, NULL, 0,
1285         "acp133.AlgorithmInformation", HFILL }},
1286     { &hf_acp133_originator_certificate_selector,
1287       { "originator-certificate-selector", "acp133.originator_certificate_selector",
1288         FT_NONE, BASE_NONE, NULL, 0,
1289         "x509ce.CertificateAssertion", HFILL }},
1290     { &hf_acp133_recipient_certificate_selector,
1291       { "recipient-certificate-selector", "acp133.recipient_certificate_selector",
1292         FT_NONE, BASE_NONE, NULL, 0,
1293         "x509ce.CertificateAssertion", HFILL }},
1294     { &hf_acp133_description,
1295       { "description", "acp133.description",
1296         FT_STRING, BASE_NONE, NULL, 0,
1297         "acp133.GeneralString", HFILL }},
1298     { &hf_acp133_address,
1299       { "address", "acp133.address",
1300         FT_NONE, BASE_NONE, NULL, 0,
1301         "x411.ORAddress", HFILL }},
1302     { &hf_acp133_capabilities,
1303       { "capabilities", "acp133.capabilities",
1304         FT_UINT32, BASE_DEC, NULL, 0,
1305         "acp133.SET_OF_Capability", HFILL }},
1306     { &hf_acp133_capabilities_item,
1307       { "Capability", "acp133.Capability",
1308         FT_NONE, BASE_NONE, NULL, 0,
1309         "acp133.Capability", HFILL }},
1310     { &hf_acp133_content_types,
1311       { "content-types", "acp133.content_types",
1312         FT_UINT32, BASE_DEC, NULL, 0,
1313         "acp133.SET_OF_ExtendedContentType", HFILL }},
1314     { &hf_acp133_content_types_item,
1315       { "ExtendedContentType", "acp133.ExtendedContentType",
1316         FT_OID, BASE_NONE, NULL, 0,
1317         "x411.ExtendedContentType", HFILL }},
1318     { &hf_acp133_maximum_content_length,
1319       { "maximum-content-length", "acp133.maximum_content_length",
1320         FT_UINT32, BASE_DEC, NULL, 0,
1321         "x411.ContentLength", HFILL }},
1322     { &hf_acp133_encoded_information_types_constraints,
1323       { "encoded-information-types-constraints", "acp133.encoded_information_types_constraints",
1324         FT_NONE, BASE_NONE, NULL, 0,
1325         "x411.EncodedInformationTypesConstraints", HFILL }},
1326     { &hf_acp133_security_labels,
1327       { "security-labels", "acp133.security_labels",
1328         FT_UINT32, BASE_DEC, NULL, 0,
1329         "x411.SecurityContext", HFILL }},
1330     { &hf_acp133_OnSupported_acp127_nn,
1331       { "acp127-nn", "acp133.acp127-nn",
1332         FT_BOOLEAN, 8, NULL, 0x80,
1333         NULL, HFILL }},
1334     { &hf_acp133_OnSupported_acp127_pn,
1335       { "acp127-pn", "acp133.acp127-pn",
1336         FT_BOOLEAN, 8, NULL, 0x40,
1337         NULL, HFILL }},
1338     { &hf_acp133_OnSupported_acp127_tn,
1339       { "acp127-tn", "acp133.acp127-tn",
1340         FT_BOOLEAN, 8, NULL, 0x20,
1341         NULL, HFILL }},
1342
1343 /*--- End of included file: packet-acp133-hfarr.c ---*/
1344 #line 71 "packet-acp133-template.c"
1345   };
1346
1347   /* List of subtrees */
1348   static gint *ett[] = {
1349     &ett_acp133,
1350
1351 /*--- Included file: packet-acp133-ettarr.c ---*/
1352 #line 1 "packet-acp133-ettarr.c"
1353     &ett_acp133_OnSupported,
1354     &ett_acp133_Addressees,
1355     &ett_acp133_MonthlyUKMs,
1356     &ett_acp133_SEQUENCE_OF_UKMEntry,
1357     &ett_acp133_Remarks,
1358     &ett_acp133_RIParameters,
1359     &ett_acp133_UKMEntry,
1360     &ett_acp133_PairwiseTag,
1361     &ett_acp133_MLReceiptPolicy,
1362     &ett_acp133_SEQUENCE_OF_GeneralNames,
1363     &ett_acp133_DLSubmitPermission,
1364     &ett_acp133_DLPolicy,
1365     &ett_acp133_T_requested_delivery_method,
1366     &ett_acp133_SEQUENCE_OF_AlgorithmInformation,
1367     &ett_acp133_AlgorithmInformation,
1368     &ett_acp133_AddressCapabilities,
1369     &ett_acp133_SET_OF_Capability,
1370     &ett_acp133_Capability,
1371     &ett_acp133_SET_OF_ExtendedContentType,
1372
1373 /*--- End of included file: packet-acp133-ettarr.c ---*/
1374 #line 77 "packet-acp133-template.c"
1375   };
1376
1377   /* Register protocol */
1378   proto_acp133 = proto_register_protocol(PNAME, PSNAME, PFNAME);
1379
1380   /* Register fields and subtrees */
1381   proto_register_field_array(proto_acp133, hf, array_length(hf));
1382   proto_register_subtree_array(ett, array_length(ett));
1383
1384 }
1385
1386
1387 /*--- proto_reg_handoff_acp133 --- */
1388 void proto_reg_handoff_acp133(void) {
1389
1390
1391 /*--- Included file: packet-acp133-dis-tab.c ---*/
1392 #line 1 "packet-acp133-dis-tab.c"
1393   register_ber_oid_dissector("2.6.5.2.4", dissect_DLSubmitPermission_PDU, proto_acp133, "id-at-mhs-dl-submit-permissions");
1394   register_ber_oid_dissector("2.6.5.2.13", dissect_DLPolicy_PDU, proto_acp133, "id-at-mhs-dl-policy");
1395   register_ber_oid_dissector("2.6.5.2.16", dissect_AddressCapabilities_PDU, proto_acp133, "id-at-mhs-or-addresses-with-capabilities");
1396   register_ber_oid_dissector("2.6.5.2.19", dissect_Capability_PDU, proto_acp133, "id-at-mhs-deliverable-classes");
1397   register_ber_oid_dissector("2.16.840.1.101.2.1.5.14", dissect_Kmid_PDU, proto_acp133, "id-at-alid");
1398   register_ber_oid_dissector("2.16.840.1.101.2.1.5.20", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-janUKMs");
1399   register_ber_oid_dissector("2.16.840.1.101.2.1.5.21", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-febUKMs");
1400   register_ber_oid_dissector("2.16.840.1.101.2.1.5.22", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-marUKMs");
1401   register_ber_oid_dissector("2.16.840.1.101.2.1.5.23", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-aprUKMs");
1402   register_ber_oid_dissector("2.16.840.1.101.2.1.5.24", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-mayUKMs");
1403   register_ber_oid_dissector("2.16.840.1.101.2.1.5.25", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-junUKMs");
1404   register_ber_oid_dissector("2.16.840.1.101.2.1.5.26", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-julUKMs");
1405   register_ber_oid_dissector("2.16.840.1.101.2.1.5.27", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-augUKMs");
1406   register_ber_oid_dissector("2.16.840.1.101.2.1.5.28", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-sepUKMs");
1407   register_ber_oid_dissector("2.16.840.1.101.2.1.5.29", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-octUKMs");
1408   register_ber_oid_dissector("2.16.840.1.101.2.1.5.30", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-novUKMs");
1409   register_ber_oid_dissector("2.16.840.1.101.2.1.5.31", dissect_MonthlyUKMs_PDU, proto_acp133, "id-at-decUKMs");
1410   register_ber_oid_dissector("2.16.840.1.101.2.2.1.46", dissect_Addressees_PDU, proto_acp133, "id-at-actionAddressees");
1411   register_ber_oid_dissector("2.16.840.1.101.2.2.1.47", dissect_Addressees_PDU, proto_acp133, "id-at-additionalAddressees");
1412   register_ber_oid_dissector("2.16.840.1.101.2.2.1.48", dissect_Addressees_PDU, proto_acp133, "id-at-additionalSecondPartyAddressees");
1413   register_ber_oid_dissector("2.16.840.1.101.2.2.1.50", dissect_Addressees_PDU, proto_acp133, "id-at-allowableOriginators");
1414   register_ber_oid_dissector("2.16.840.1.101.2.2.1.52", dissect_Community_PDU, proto_acp133, "id-at-community");
1415   register_ber_oid_dissector("2.16.840.1.101.2.2.1.56", dissect_Classification_PDU, proto_acp133, "id-at-entryClassification");
1416   register_ber_oid_dissector("2.16.840.1.101.2.2.1.59", dissect_Addressees_PDU, proto_acp133, "id-at-infoAddressees");
1417   register_ber_oid_dissector("2.16.840.1.101.2.2.1.67", dissect_Classification_PDU, proto_acp133, "id-at-nameClassification");
1418   register_ber_oid_dissector("2.16.840.1.101.2.2.1.71", dissect_Addressees_PDU, proto_acp133, "id-at-plaAddressees");
1419   register_ber_oid_dissector("2.16.840.1.101.2.2.1.76", dissect_Remarks_PDU, proto_acp133, "id-at-remarks");
1420   register_ber_oid_dissector("2.16.840.1.101.2.2.1.78", dissect_Classification_PDU, proto_acp133, "id-at-rIClassification");
1421   register_ber_oid_dissector("2.16.840.1.101.2.2.1.79", dissect_RIParameters_PDU, proto_acp133, "id-at-rIInfo");
1422   register_ber_oid_dissector("2.16.840.1.101.2.2.1.80", dissect_Addressees_PDU, proto_acp133, "id-at-secondPartyAddressees");
1423   register_ber_oid_dissector("2.16.840.1.101.2.2.1.104", dissect_DistributionCode_PDU, proto_acp133, "id-at-distributionCodeAction");
1424   register_ber_oid_dissector("2.16.840.1.101.2.2.1.105", dissect_DistributionCode_PDU, proto_acp133, "id-at-distributionCodeInfo");
1425   register_ber_oid_dissector("2.16.840.1.101.2.2.1.108", dissect_ACPPreferredDelivery_PDU, proto_acp133, "id-at-aCPPreferredDelivery");
1426   register_ber_oid_dissector("2.16.840.1.101.2.2.1.112", dissect_ALType_PDU, proto_acp133, "id-at-aLType");
1427   register_ber_oid_dissector("2.16.840.1.101.2.2.1.123", dissect_OnSupported_PDU, proto_acp133, "id-at-onSupported");
1428   register_ber_oid_dissector("2.16.840.1.101.2.2.1.135", dissect_MLReceiptPolicy_PDU, proto_acp133, "id-at-aLReceiptPolicy");
1429   register_ber_oid_dissector("2.16.840.1.101.2.2.1.142", dissect_ACPLegacyFormat_PDU, proto_acp133, "id-at-aCPLegacyFormat");
1430   register_ber_oid_dissector("2.16.840.1.101.2.2.1.146", dissect_JPEG_PDU, proto_acp133, "id-at-aCPNetwAccessSchemaEdB");
1431   register_ber_oid_dissector("2.16.840.1.101.2.2.1.147", dissect_JPEG_PDU, proto_acp133, "id-at-aCPNetworkSchemaEdB");
1432
1433
1434 /*--- End of included file: packet-acp133-dis-tab.c ---*/
1435 #line 93 "packet-acp133-template.c"
1436
1437   /* X.402 Object Classes */
1438   oid_add_from_string("id-oc-mhs-distribution-list","2.6.5.1.0");
1439   oid_add_from_string("id-oc-mhs-message-store","2.6.5.1.1");
1440   oid_add_from_string("id-oc-mhs-message-transfer-agent","2.6.5.1.2");
1441   oid_add_from_string("id-oc-mhs-user","2.6.5.1.3");
1442
1443   /* SDN.701 Object Classes */
1444   oid_add_from_string("id-oc-secure-user","2.16.840.1.101.2.1.4.13");
1445   oid_add_from_string("id-oc-ukms","2.16.840.1.101.2.1.4.16");
1446
1447   /* ACP133 Object Classes */
1448   oid_add_from_string("id-oc-plaData","2.16.840.1.101.2.2.3.26");
1449   oid_add_from_string("id-oc-cadACP127","2.16.840.1.101.2.2.3.28");
1450   oid_add_from_string("id-oc-mLA","2.16.840.1.101.2.2.3.31");
1451   oid_add_from_string("id-oc-orgACP127","2.16.840.1.101.2.2.3.34");
1452   oid_add_from_string("id-oc-plaCollectiveACP127","2.16.840.1.101.2.2.3.35");
1453   oid_add_from_string("id-oc-routingIndicator","2.16.840.1.101.2.2.3.37");
1454   oid_add_from_string("id-oc-sigintPLA","2.16.840.1.101.2.2.3.38");
1455   oid_add_from_string("id-oc-sIPLA","2.16.840.1.101.2.2.3.39");
1456   oid_add_from_string("id-oc-spotPLA","2.16.840.1.101.2.2.3.40");
1457   oid_add_from_string("id-oc-taskForceACP127","2.16.840.1.101.2.2.3.41");
1458   oid_add_from_string("id-oc-tenantACP127","2.16.840.1.101.2.2.3.42");
1459   oid_add_from_string("id-oc-plaACP127","2.16.840.1.101.2.2.3.47");
1460   oid_add_from_string("id-oc-aliasCommonName","2.16.840.1.101.2.2.3.52");
1461   oid_add_from_string("id-oc-aliasOrganizationalUnit","2.16.840.1.101.2.2.3.53");
1462   oid_add_from_string("id-oc-distributionCodesHandled","2.16.840.1.101.2.2.3.54");
1463   oid_add_from_string("id-oc-distributionCodeDescription","2.16.840.1.101.2.2.3.55");
1464   oid_add_from_string("id-oc-plaUser","2.16.840.1.101.2.2.3.56");
1465   oid_add_from_string("id-oc-addressList","2.16.840.1.101.2.2.3.57");
1466   oid_add_from_string("id-oc-altSpellingACP127","2.16.840.1.101.2.2.3.58");
1467   oid_add_from_string("id-oc-messagingGateway","2.16.840.1.101.2.2.3.59");
1468   oid_add_from_string("id-oc-network","2.16.840.1.101.2.2.3.60");
1469   oid_add_from_string("id-oc-networkInstructions","2.16.840.1.101.2.2.3.61");
1470   oid_add_from_string("id-oc-otherContactInformation","2.16.840.1.101.2.2.3.62");
1471   oid_add_from_string("id-oc-releaseAuthorityPerson","2.16.840.1.101.2.2.3.63");
1472   oid_add_from_string("id-oc-mLAgent","2.16.840.1.101.2.2.3.64");
1473   oid_add_from_string("id-oc-releaseAuthorityPersonA","2.16.840.1.101.2.2.3.65");
1474   oid_add_from_string("id-oc-securePkiUser","2.16.840.1.101.2.2.3.66");
1475   oid_add_from_string("id-oc-dSSCSPLA","2.16.840.1.101.2.2.3.67");
1476   oid_add_from_string("id-oc-aCPNetworkEdB","2.16.840.1.101.2.2.3.68");
1477   oid_add_from_string("id-oc-aCPNetworkInstructionsEdB","2.16.840.1.101.2.2.3.69");
1478
1479   /* gateway types */
1480   oid_add_from_string("acp120-acp127","2.16.840.1.101.2.2.5.0");
1481   oid_add_from_string("acp120-janap128","2.16.840.1.101.2.2.5.1");
1482   oid_add_from_string("acp120-mhs","2.16.840.1.101.2.2.5.2");
1483   oid_add_from_string("acp120-mmhs","2.16.840.1.101.2.2.5.3");
1484   oid_add_from_string("acp120-rfc822","2.16.840.1.101.2.2.5.4");
1485   oid_add_from_string("boundaryMTA","2.16.840.1.101.2.2.5.5");
1486   oid_add_from_string("mmhs-mhs","2.16.840.1.101.2.2.5.6");
1487   oid_add_from_string("mmhs-rfc822","2.16.840.1.101.2.2.5.7");
1488   oid_add_from_string("mta-acp127","2.16.840.1.101.2.2.5.8");
1489
1490 }