1 /* Do not modify this file. */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler */
4 /* ../../tools/asn2wrs.py -b -e -p dop -c ./dop.cnf -s ./packet-dop-template -D . dop.asn */
6 /* Input file: packet-dop-template.c */
8 #line 1 "packet-dop-template.c"
10 * Routines for X.501 (DSA Operational Attributes) packet dissection
15 * Wireshark - Network traffic analyzer
16 * By Gerald Combs <gerald@wireshark.org>
17 * Copyright 1998 Gerald Combs
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.
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.
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.
39 #include <epan/packet.h>
40 #include <epan/prefs.h>
41 #include <epan/oids.h>
42 #include <epan/asn1.h>
43 #include <epan/expert.h>
48 #include "packet-ber.h"
49 #include "packet-acse.h"
50 #include "packet-ros.h"
52 #include "packet-x509sat.h"
53 #include "packet-x509af.h"
54 #include "packet-x509if.h"
55 #include "packet-dap.h"
56 #include "packet-dsp.h"
57 #include "packet-crmf.h"
60 #include "packet-dop.h"
62 #define PNAME "X.501 Directory Operational Binding Management Protocol"
66 static guint global_dop_tcp_port = 102;
67 static dissector_handle_t tpkt_handle;
68 void prefs_register_dop(void); /* forward declaration for use in preferences registration */
70 /* Initialize the protocol and registered fields */
73 static struct SESSION_DATA_STRUCTURE* session = NULL;
74 static const char *binding_type = NULL; /* binding_type */
76 static int call_dop_oid_callback(char *base_string, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *col_info);
79 /*--- Included file: packet-dop-hf.c ---*/
80 #line 1 "packet-dop-hf.c"
81 static int hf_dop_DSEType_PDU = -1; /* DSEType */
82 static int hf_dop_SupplierInformation_PDU = -1; /* SupplierInformation */
83 static int hf_dop_ConsumerInformation_PDU = -1; /* ConsumerInformation */
84 static int hf_dop_SupplierAndConsumers_PDU = -1; /* SupplierAndConsumers */
85 static int hf_dop_HierarchicalAgreement_PDU = -1; /* HierarchicalAgreement */
86 static int hf_dop_SuperiorToSubordinate_PDU = -1; /* SuperiorToSubordinate */
87 static int hf_dop_SubordinateToSuperior_PDU = -1; /* SubordinateToSuperior */
88 static int hf_dop_SuperiorToSubordinateModification_PDU = -1; /* SuperiorToSubordinateModification */
89 static int hf_dop_NonSpecificHierarchicalAgreement_PDU = -1; /* NonSpecificHierarchicalAgreement */
90 static int hf_dop_NHOBSuperiorToSubordinate_PDU = -1; /* NHOBSuperiorToSubordinate */
91 static int hf_dop_NHOBSubordinateToSuperior_PDU = -1; /* NHOBSubordinateToSuperior */
92 static int hf_dop_ACIItem_PDU = -1; /* ACIItem */
93 static int hf_dop_ae_title = -1; /* Name */
94 static int hf_dop_address = -1; /* PresentationAddress */
95 static int hf_dop_protocolInformation = -1; /* SET_OF_ProtocolInformation */
96 static int hf_dop_protocolInformation_item = -1; /* ProtocolInformation */
97 static int hf_dop_agreementID = -1; /* OperationalBindingID */
98 static int hf_dop_supplier_is_master = -1; /* BOOLEAN */
99 static int hf_dop_non_supplying_master = -1; /* AccessPoint */
100 static int hf_dop_consumers = -1; /* SET_OF_AccessPoint */
101 static int hf_dop_consumers_item = -1; /* AccessPoint */
102 static int hf_dop_bindingType = -1; /* BindingType */
103 static int hf_dop_bindingID = -1; /* OperationalBindingID */
104 static int hf_dop_accessPoint = -1; /* AccessPoint */
105 static int hf_dop_establishInitiator = -1; /* EstablishArgumentInitiator */
106 static int hf_dop_establishSymmetric = -1; /* EstablishSymmetric */
107 static int hf_dop_establishRoleAInitiates = -1; /* EstablishRoleAInitiates */
108 static int hf_dop_establishRoleBInitiates = -1; /* EstablishRoleBInitiates */
109 static int hf_dop_agreement = -1; /* T_agreement */
110 static int hf_dop_valid = -1; /* Validity */
111 static int hf_dop_securityParameters = -1; /* SecurityParameters */
112 static int hf_dop_unsignedEstablishOperationalBindingArgument = -1; /* EstablishOperationalBindingArgumentData */
113 static int hf_dop_signedEstablishOperationalBindingArgument = -1; /* T_signedEstablishOperationalBindingArgument */
114 static int hf_dop_establishOperationalBindingArgument = -1; /* EstablishOperationalBindingArgumentData */
115 static int hf_dop_algorithmIdentifier = -1; /* AlgorithmIdentifier */
116 static int hf_dop_encrypted = -1; /* BIT_STRING */
117 static int hf_dop_identifier = -1; /* T_identifier */
118 static int hf_dop_version = -1; /* T_version */
119 static int hf_dop_validFrom = -1; /* T_validFrom */
120 static int hf_dop_now = -1; /* NULL */
121 static int hf_dop_time = -1; /* Time */
122 static int hf_dop_validUntil = -1; /* T_validUntil */
123 static int hf_dop_explicitTermination = -1; /* NULL */
124 static int hf_dop_utcTime = -1; /* UTCTime */
125 static int hf_dop_generalizedTime = -1; /* GeneralizedTime */
126 static int hf_dop_initiator = -1; /* T_initiator */
127 static int hf_dop_symmetric = -1; /* T_symmetric */
128 static int hf_dop_roleA_replies = -1; /* T_roleA_replies */
129 static int hf_dop_roleB_replies = -1; /* T_roleB_replies */
130 static int hf_dop_performer = -1; /* DistinguishedName */
131 static int hf_dop_aliasDereferenced = -1; /* BOOLEAN */
132 static int hf_dop_notification = -1; /* SEQUENCE_SIZE_1_MAX_OF_Attribute */
133 static int hf_dop_notification_item = -1; /* Attribute */
134 static int hf_dop_modifyInitiator = -1; /* ModifyArgumentInitiator */
135 static int hf_dop_modifySymmetric = -1; /* ModifySymmetric */
136 static int hf_dop_modifyRoleAInitiates = -1; /* ModifyRoleAInitiates */
137 static int hf_dop_modifyRoleBInitiates = -1; /* ModifyRoleBInitiates */
138 static int hf_dop_newBindingID = -1; /* OperationalBindingID */
139 static int hf_dop_argumentNewAgreement = -1; /* ArgumentNewAgreement */
140 static int hf_dop_unsignedModifyOperationalBindingArgument = -1; /* ModifyOperationalBindingArgumentData */
141 static int hf_dop_signedModifyOperationalBindingArgument = -1; /* T_signedModifyOperationalBindingArgument */
142 static int hf_dop_modifyOperationalBindingArgument = -1; /* ModifyOperationalBindingArgumentData */
143 static int hf_dop_null = -1; /* NULL */
144 static int hf_dop_protectedModifyResult = -1; /* ProtectedModifyResult */
145 static int hf_dop_modifyOperationalBindingResultData = -1; /* ModifyOperationalBindingResultData */
146 static int hf_dop_resultNewAgreement = -1; /* ResultNewAgreement */
147 static int hf_dop_terminateInitiator = -1; /* TerminateArgumentInitiator */
148 static int hf_dop_terminateSymmetric = -1; /* TerminateSymmetric */
149 static int hf_dop_terminateRoleAInitiates = -1; /* TerminateRoleAInitiates */
150 static int hf_dop_terminateRoleBInitiates = -1; /* TerminateRoleBInitiates */
151 static int hf_dop_terminateAtTime = -1; /* Time */
152 static int hf_dop_unsignedTerminateOperationalBindingArgument = -1; /* TerminateOperationalBindingArgumentData */
153 static int hf_dop_signedTerminateOperationalBindingArgument = -1; /* T_signedTerminateOperationalBindingArgument */
154 static int hf_dop_terminateOperationalBindingArgument = -1; /* TerminateOperationalBindingArgumentData */
155 static int hf_dop_protectedTerminateResult = -1; /* ProtectedTerminateResult */
156 static int hf_dop_terminateOperationalBindingResultData = -1; /* TerminateOperationalBindingResultData */
157 static int hf_dop_terminateAtGeneralizedTime = -1; /* GeneralizedTime */
158 static int hf_dop_problem = -1; /* T_problem */
159 static int hf_dop_agreementProposal = -1; /* T_agreementProposal */
160 static int hf_dop_retryAt = -1; /* Time */
161 static int hf_dop_rdn = -1; /* RelativeDistinguishedName */
162 static int hf_dop_immediateSuperior = -1; /* DistinguishedName */
163 static int hf_dop_contextPrefixInfo = -1; /* DITcontext */
164 static int hf_dop_entryInfo = -1; /* SET_OF_Attribute */
165 static int hf_dop_entryInfo_item = -1; /* Attribute */
166 static int hf_dop_immediateSuperiorInfo = -1; /* SET_OF_Attribute */
167 static int hf_dop_immediateSuperiorInfo_item = -1; /* Attribute */
168 static int hf_dop_DITcontext_item = -1; /* Vertex */
169 static int hf_dop_admPointInfo = -1; /* SET_OF_Attribute */
170 static int hf_dop_admPointInfo_item = -1; /* Attribute */
171 static int hf_dop_subentries = -1; /* SET_OF_SubentryInfo */
172 static int hf_dop_subentries_item = -1; /* SubentryInfo */
173 static int hf_dop_accessPoints = -1; /* MasterAndShadowAccessPoints */
174 static int hf_dop_info = -1; /* SET_OF_Attribute */
175 static int hf_dop_info_item = -1; /* Attribute */
176 static int hf_dop_alias = -1; /* BOOLEAN */
177 static int hf_dop_identificationTag = -1; /* DirectoryString */
178 static int hf_dop_precedence = -1; /* Precedence */
179 static int hf_dop_authenticationLevel = -1; /* AuthenticationLevel */
180 static int hf_dop_itemOrUserFirst = -1; /* T_itemOrUserFirst */
181 static int hf_dop_itemFirst = -1; /* T_itemFirst */
182 static int hf_dop_protectedItems = -1; /* ProtectedItems */
183 static int hf_dop_itemPermissions = -1; /* SET_OF_ItemPermission */
184 static int hf_dop_itemPermissions_item = -1; /* ItemPermission */
185 static int hf_dop_userFirst = -1; /* T_userFirst */
186 static int hf_dop_userClasses = -1; /* UserClasses */
187 static int hf_dop_userPermissions = -1; /* SET_OF_UserPermission */
188 static int hf_dop_userPermissions_item = -1; /* UserPermission */
189 static int hf_dop_entry = -1; /* NULL */
190 static int hf_dop_allUserAttributeTypes = -1; /* NULL */
191 static int hf_dop_attributeType = -1; /* SET_OF_AttributeType */
192 static int hf_dop_attributeType_item = -1; /* AttributeType */
193 static int hf_dop_allAttributeValues = -1; /* SET_OF_AttributeType */
194 static int hf_dop_allAttributeValues_item = -1; /* AttributeType */
195 static int hf_dop_allUserAttributeTypesAndValues = -1; /* NULL */
196 static int hf_dop_attributeValue = -1; /* SET_OF_AttributeTypeAndValue */
197 static int hf_dop_attributeValue_item = -1; /* AttributeTypeAndValue */
198 static int hf_dop_selfValue = -1; /* SET_OF_AttributeType */
199 static int hf_dop_selfValue_item = -1; /* AttributeType */
200 static int hf_dop_rangeOfValues = -1; /* Filter */
201 static int hf_dop_maxValueCount = -1; /* SET_OF_MaxValueCount */
202 static int hf_dop_maxValueCount_item = -1; /* MaxValueCount */
203 static int hf_dop_maxImmSub = -1; /* INTEGER */
204 static int hf_dop_restrictedBy = -1; /* SET_OF_RestrictedValue */
205 static int hf_dop_restrictedBy_item = -1; /* RestrictedValue */
206 static int hf_dop_contexts = -1; /* SET_OF_ContextAssertion */
207 static int hf_dop_contexts_item = -1; /* ContextAssertion */
208 static int hf_dop_classes = -1; /* Refinement */
209 static int hf_dop_type = -1; /* AttributeType */
210 static int hf_dop_maxCount = -1; /* INTEGER */
211 static int hf_dop_valuesIn = -1; /* AttributeType */
212 static int hf_dop_allUsers = -1; /* NULL */
213 static int hf_dop_thisEntry = -1; /* NULL */
214 static int hf_dop_name = -1; /* SET_OF_NameAndOptionalUID */
215 static int hf_dop_name_item = -1; /* NameAndOptionalUID */
216 static int hf_dop_userGroup = -1; /* SET_OF_NameAndOptionalUID */
217 static int hf_dop_userGroup_item = -1; /* NameAndOptionalUID */
218 static int hf_dop_subtree = -1; /* SET_OF_SubtreeSpecification */
219 static int hf_dop_subtree_item = -1; /* SubtreeSpecification */
220 static int hf_dop_grantsAndDenials = -1; /* GrantsAndDenials */
221 static int hf_dop_basicLevels = -1; /* T_basicLevels */
222 static int hf_dop_level = -1; /* T_level */
223 static int hf_dop_localQualifier = -1; /* INTEGER */
224 static int hf_dop_signed = -1; /* BOOLEAN */
225 static int hf_dop_other = -1; /* EXTERNAL */
227 static int hf_dop_DSEType_root = -1;
228 static int hf_dop_DSEType_glue = -1;
229 static int hf_dop_DSEType_cp = -1;
230 static int hf_dop_DSEType_entry = -1;
231 static int hf_dop_DSEType_alias = -1;
232 static int hf_dop_DSEType_subr = -1;
233 static int hf_dop_DSEType_nssr = -1;
234 static int hf_dop_DSEType_supr = -1;
235 static int hf_dop_DSEType_xr = -1;
236 static int hf_dop_DSEType_admPoint = -1;
237 static int hf_dop_DSEType_subentry = -1;
238 static int hf_dop_DSEType_shadow = -1;
239 static int hf_dop_DSEType_immSupr = -1;
240 static int hf_dop_DSEType_rhob = -1;
241 static int hf_dop_DSEType_sa = -1;
242 static int hf_dop_DSEType_dsSubentry = -1;
243 static int hf_dop_DSEType_familyMember = -1;
244 static int hf_dop_GrantsAndDenials_grantAdd = -1;
245 static int hf_dop_GrantsAndDenials_denyAdd = -1;
246 static int hf_dop_GrantsAndDenials_grantDiscloseOnError = -1;
247 static int hf_dop_GrantsAndDenials_denyDiscloseOnError = -1;
248 static int hf_dop_GrantsAndDenials_grantRead = -1;
249 static int hf_dop_GrantsAndDenials_denyRead = -1;
250 static int hf_dop_GrantsAndDenials_grantRemove = -1;
251 static int hf_dop_GrantsAndDenials_denyRemove = -1;
252 static int hf_dop_GrantsAndDenials_grantBrowse = -1;
253 static int hf_dop_GrantsAndDenials_denyBrowse = -1;
254 static int hf_dop_GrantsAndDenials_grantExport = -1;
255 static int hf_dop_GrantsAndDenials_denyExport = -1;
256 static int hf_dop_GrantsAndDenials_grantImport = -1;
257 static int hf_dop_GrantsAndDenials_denyImport = -1;
258 static int hf_dop_GrantsAndDenials_grantModify = -1;
259 static int hf_dop_GrantsAndDenials_denyModify = -1;
260 static int hf_dop_GrantsAndDenials_grantRename = -1;
261 static int hf_dop_GrantsAndDenials_denyRename = -1;
262 static int hf_dop_GrantsAndDenials_grantReturnDN = -1;
263 static int hf_dop_GrantsAndDenials_denyReturnDN = -1;
264 static int hf_dop_GrantsAndDenials_grantCompare = -1;
265 static int hf_dop_GrantsAndDenials_denyCompare = -1;
266 static int hf_dop_GrantsAndDenials_grantFilterMatch = -1;
267 static int hf_dop_GrantsAndDenials_denyFilterMatch = -1;
268 static int hf_dop_GrantsAndDenials_grantInvoke = -1;
269 static int hf_dop_GrantsAndDenials_denyInvoke = -1;
271 /*--- End of included file: packet-dop-hf.c ---*/
272 #line 71 "packet-dop-template.c"
274 /* Initialize the subtree pointers */
275 static gint ett_dop = -1;
276 static gint ett_dop_unknown = -1;
278 /*--- Included file: packet-dop-ett.c ---*/
279 #line 1 "packet-dop-ett.c"
280 static gint ett_dop_DSEType = -1;
281 static gint ett_dop_SupplierOrConsumer = -1;
282 static gint ett_dop_SET_OF_ProtocolInformation = -1;
283 static gint ett_dop_SupplierInformation = -1;
284 static gint ett_dop_SupplierAndConsumers = -1;
285 static gint ett_dop_SET_OF_AccessPoint = -1;
286 static gint ett_dop_EstablishOperationalBindingArgumentData = -1;
287 static gint ett_dop_EstablishArgumentInitiator = -1;
288 static gint ett_dop_EstablishOperationalBindingArgument = -1;
289 static gint ett_dop_T_signedEstablishOperationalBindingArgument = -1;
290 static gint ett_dop_OperationalBindingID = -1;
291 static gint ett_dop_Validity = -1;
292 static gint ett_dop_T_validFrom = -1;
293 static gint ett_dop_T_validUntil = -1;
294 static gint ett_dop_Time = -1;
295 static gint ett_dop_EstablishOperationalBindingResult = -1;
296 static gint ett_dop_T_initiator = -1;
297 static gint ett_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute = -1;
298 static gint ett_dop_ModifyOperationalBindingArgumentData = -1;
299 static gint ett_dop_ModifyArgumentInitiator = -1;
300 static gint ett_dop_ModifyOperationalBindingArgument = -1;
301 static gint ett_dop_T_signedModifyOperationalBindingArgument = -1;
302 static gint ett_dop_ModifyOperationalBindingResult = -1;
303 static gint ett_dop_ProtectedModifyResult = -1;
304 static gint ett_dop_ModifyOperationalBindingResultData = -1;
305 static gint ett_dop_TerminateOperationalBindingArgumentData = -1;
306 static gint ett_dop_TerminateArgumentInitiator = -1;
307 static gint ett_dop_TerminateOperationalBindingArgument = -1;
308 static gint ett_dop_T_signedTerminateOperationalBindingArgument = -1;
309 static gint ett_dop_TerminateOperationalBindingResult = -1;
310 static gint ett_dop_ProtectedTerminateResult = -1;
311 static gint ett_dop_TerminateOperationalBindingResultData = -1;
312 static gint ett_dop_OpBindingErrorParam = -1;
313 static gint ett_dop_HierarchicalAgreement = -1;
314 static gint ett_dop_SuperiorToSubordinate = -1;
315 static gint ett_dop_SET_OF_Attribute = -1;
316 static gint ett_dop_DITcontext = -1;
317 static gint ett_dop_Vertex = -1;
318 static gint ett_dop_SET_OF_SubentryInfo = -1;
319 static gint ett_dop_SubentryInfo = -1;
320 static gint ett_dop_SubordinateToSuperior = -1;
321 static gint ett_dop_SuperiorToSubordinateModification = -1;
322 static gint ett_dop_NonSpecificHierarchicalAgreement = -1;
323 static gint ett_dop_NHOBSuperiorToSubordinate = -1;
324 static gint ett_dop_NHOBSubordinateToSuperior = -1;
325 static gint ett_dop_ACIItem = -1;
326 static gint ett_dop_T_itemOrUserFirst = -1;
327 static gint ett_dop_T_itemFirst = -1;
328 static gint ett_dop_SET_OF_ItemPermission = -1;
329 static gint ett_dop_T_userFirst = -1;
330 static gint ett_dop_SET_OF_UserPermission = -1;
331 static gint ett_dop_ProtectedItems = -1;
332 static gint ett_dop_SET_OF_AttributeType = -1;
333 static gint ett_dop_SET_OF_AttributeTypeAndValue = -1;
334 static gint ett_dop_SET_OF_MaxValueCount = -1;
335 static gint ett_dop_SET_OF_RestrictedValue = -1;
336 static gint ett_dop_SET_OF_ContextAssertion = -1;
337 static gint ett_dop_MaxValueCount = -1;
338 static gint ett_dop_RestrictedValue = -1;
339 static gint ett_dop_UserClasses = -1;
340 static gint ett_dop_SET_OF_NameAndOptionalUID = -1;
341 static gint ett_dop_SET_OF_SubtreeSpecification = -1;
342 static gint ett_dop_ItemPermission = -1;
343 static gint ett_dop_UserPermission = -1;
344 static gint ett_dop_AuthenticationLevel = -1;
345 static gint ett_dop_T_basicLevels = -1;
346 static gint ett_dop_GrantsAndDenials = -1;
348 /*--- End of included file: packet-dop-ett.c ---*/
349 #line 76 "packet-dop-template.c"
351 /* Dissector table */
352 static dissector_table_t dop_dissector_table;
354 static void append_oid(packet_info *pinfo, const char *oid)
356 const char *name = NULL;
358 if(check_col(pinfo->cinfo, COL_INFO)) {
359 name = oid_resolved_from_string(oid);
360 col_append_fstr(pinfo->cinfo, COL_INFO, " %s", name ? name : oid);
365 /*--- Included file: packet-dop-fn.c ---*/
366 #line 1 "packet-dop-fn.c"
368 static const asn_namedbit DSEType_bits[] = {
369 { 0, &hf_dop_DSEType_root, -1, -1, "root", NULL },
370 { 1, &hf_dop_DSEType_glue, -1, -1, "glue", NULL },
371 { 2, &hf_dop_DSEType_cp, -1, -1, "cp", NULL },
372 { 3, &hf_dop_DSEType_entry, -1, -1, "entry", NULL },
373 { 4, &hf_dop_DSEType_alias, -1, -1, "alias", NULL },
374 { 5, &hf_dop_DSEType_subr, -1, -1, "subr", NULL },
375 { 6, &hf_dop_DSEType_nssr, -1, -1, "nssr", NULL },
376 { 7, &hf_dop_DSEType_supr, -1, -1, "supr", NULL },
377 { 8, &hf_dop_DSEType_xr, -1, -1, "xr", NULL },
378 { 9, &hf_dop_DSEType_admPoint, -1, -1, "admPoint", NULL },
379 { 10, &hf_dop_DSEType_subentry, -1, -1, "subentry", NULL },
380 { 11, &hf_dop_DSEType_shadow, -1, -1, "shadow", NULL },
381 { 13, &hf_dop_DSEType_immSupr, -1, -1, "immSupr", NULL },
382 { 14, &hf_dop_DSEType_rhob, -1, -1, "rhob", NULL },
383 { 15, &hf_dop_DSEType_sa, -1, -1, "sa", NULL },
384 { 16, &hf_dop_DSEType_dsSubentry, -1, -1, "dsSubentry", NULL },
385 { 17, &hf_dop_DSEType_familyMember, -1, -1, "familyMember", NULL },
386 { 0, NULL, 0, 0, NULL, NULL }
390 dissect_dop_DSEType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
391 offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset,
392 DSEType_bits, hf_index, ett_dop_DSEType,
399 static const ber_sequence_t SET_OF_ProtocolInformation_set_of[1] = {
400 { &hf_dop_protocolInformation_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509sat_ProtocolInformation },
404 dissect_dop_SET_OF_ProtocolInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
405 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
406 SET_OF_ProtocolInformation_set_of, hf_index, ett_dop_SET_OF_ProtocolInformation);
414 dissect_dop_T_identifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
418 offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
422 if (check_col(actx->pinfo->cinfo, COL_INFO)) {
423 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " id=%d", value);
436 dissect_dop_T_version(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
440 offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
444 if (check_col(actx->pinfo->cinfo, COL_INFO)) {
445 col_append_fstr(actx->pinfo->cinfo, COL_INFO, ",%d", value);
454 static const ber_sequence_t OperationalBindingID_sequence[] = {
455 { &hf_dop_identifier , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_dop_T_identifier },
456 { &hf_dop_version , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_dop_T_version },
457 { NULL, 0, 0, 0, NULL }
461 dissect_dop_OperationalBindingID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
462 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
463 OperationalBindingID_sequence, hf_index, ett_dop_OperationalBindingID);
469 static const ber_sequence_t SupplierOrConsumer_set[] = {
470 { &hf_dop_ae_title , BER_CLASS_CON, 0, 0, dissect_x509if_Name },
471 { &hf_dop_address , BER_CLASS_CON, 1, 0, dissect_x509sat_PresentationAddress },
472 { &hf_dop_protocolInformation, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_ProtocolInformation },
473 { &hf_dop_agreementID , BER_CLASS_CON, 3, 0, dissect_dop_OperationalBindingID },
474 { NULL, 0, 0, 0, NULL }
478 dissect_dop_SupplierOrConsumer(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
479 offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
480 SupplierOrConsumer_set, hf_index, ett_dop_SupplierOrConsumer);
488 dissect_dop_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_) {
489 offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
495 static const ber_sequence_t SupplierInformation_set[] = {
496 { &hf_dop_ae_title , BER_CLASS_CON, 0, 0, dissect_x509if_Name },
497 { &hf_dop_address , BER_CLASS_CON, 1, 0, dissect_x509sat_PresentationAddress },
498 { &hf_dop_protocolInformation, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_ProtocolInformation },
499 { &hf_dop_agreementID , BER_CLASS_CON, 3, 0, dissect_dop_OperationalBindingID },
500 { &hf_dop_supplier_is_master, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_dop_BOOLEAN },
501 { &hf_dop_non_supplying_master, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_dsp_AccessPoint },
502 { NULL, 0, 0, 0, NULL }
506 dissect_dop_SupplierInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
507 offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
508 SupplierInformation_set, hf_index, ett_dop_SupplierInformation);
516 dissect_dop_ConsumerInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
517 offset = dissect_dop_SupplierOrConsumer(implicit_tag, tvb, offset, actx, tree, hf_index);
523 static const ber_sequence_t SET_OF_AccessPoint_set_of[1] = {
524 { &hf_dop_consumers_item , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_dsp_AccessPoint },
528 dissect_dop_SET_OF_AccessPoint(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
529 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
530 SET_OF_AccessPoint_set_of, hf_index, ett_dop_SET_OF_AccessPoint);
536 static const ber_sequence_t SupplierAndConsumers_set[] = {
537 { &hf_dop_ae_title , BER_CLASS_CON, 0, 0, dissect_x509if_Name },
538 { &hf_dop_address , BER_CLASS_CON, 1, 0, dissect_x509sat_PresentationAddress },
539 { &hf_dop_protocolInformation, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_ProtocolInformation },
540 { &hf_dop_consumers , BER_CLASS_CON, 3, 0, dissect_dop_SET_OF_AccessPoint },
541 { NULL, 0, 0, 0, NULL }
545 dissect_dop_SupplierAndConsumers(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
546 offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
547 SupplierAndConsumers_set, hf_index, ett_dop_SupplierAndConsumers);
555 dissect_dop_DSAOperationalManagementBindArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
556 offset = dissect_dap_DirectoryBindArgument(implicit_tag, tvb, offset, actx, tree, hf_index);
564 dissect_dop_DSAOperationalManagementBindResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
565 offset = dissect_dap_DirectoryBindArgument(implicit_tag, tvb, offset, actx, tree, hf_index);
573 dissect_dop_DSAOperationalManagementBindError(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
574 offset = dissect_dap_DirectoryBindError(implicit_tag, tvb, offset, actx, tree, hf_index);
582 dissect_dop_BindingType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
583 offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_index, &binding_type);
586 append_oid(actx->pinfo, binding_type);
594 dissect_dop_EstablishSymmetric(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
597 offset = call_dop_oid_callback("establish.symmetric", tvb, offset, actx->pinfo, tree, "symmetric");
607 dissect_dop_EstablishRoleAInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
610 offset = call_dop_oid_callback("establish.rolea", tvb, offset, actx->pinfo, tree, "roleA");
620 dissect_dop_EstablishRoleBInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
623 offset = call_dop_oid_callback("establish.roleb", tvb, offset, actx->pinfo, tree, "roleB");
631 static const value_string dop_EstablishArgumentInitiator_vals[] = {
633 { 4, "roleA-initiates" },
634 { 5, "roleB-initiates" },
638 static const ber_choice_t EstablishArgumentInitiator_choice[] = {
639 { 3, &hf_dop_establishSymmetric, BER_CLASS_CON, 3, 0, dissect_dop_EstablishSymmetric },
640 { 4, &hf_dop_establishRoleAInitiates, BER_CLASS_CON, 4, 0, dissect_dop_EstablishRoleAInitiates },
641 { 5, &hf_dop_establishRoleBInitiates, BER_CLASS_CON, 5, 0, dissect_dop_EstablishRoleBInitiates },
642 { 0, NULL, 0, 0, 0, NULL }
646 dissect_dop_EstablishArgumentInitiator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
647 offset = dissect_ber_choice(actx, tree, tvb, offset,
648 EstablishArgumentInitiator_choice, hf_index, ett_dop_EstablishArgumentInitiator,
657 dissect_dop_T_agreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
660 offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL);
670 dissect_dop_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_) {
671 offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index);
679 dissect_dop_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_) {
680 offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index);
688 dissect_dop_GeneralizedTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
689 offset = dissect_ber_GeneralizedTime(implicit_tag, actx, tree, tvb, offset, hf_index);
695 static const value_string dop_Time_vals[] = {
697 { 1, "generalizedTime" },
701 static const ber_choice_t Time_choice[] = {
702 { 0, &hf_dop_utcTime , BER_CLASS_UNI, BER_UNI_TAG_UTCTime, BER_FLAGS_NOOWNTAG, dissect_dop_UTCTime },
703 { 1, &hf_dop_generalizedTime , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_dop_GeneralizedTime },
704 { 0, NULL, 0, 0, 0, NULL }
708 dissect_dop_Time(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
709 offset = dissect_ber_choice(actx, tree, tvb, offset,
710 Time_choice, hf_index, ett_dop_Time,
717 static const value_string dop_T_validFrom_vals[] = {
723 static const ber_choice_t T_validFrom_choice[] = {
724 { 0, &hf_dop_now , BER_CLASS_CON, 0, 0, dissect_dop_NULL },
725 { 1, &hf_dop_time , BER_CLASS_CON, 1, 0, dissect_dop_Time },
726 { 0, NULL, 0, 0, 0, NULL }
730 dissect_dop_T_validFrom(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
731 offset = dissect_ber_choice(actx, tree, tvb, offset,
732 T_validFrom_choice, hf_index, ett_dop_T_validFrom,
739 static const value_string dop_T_validUntil_vals[] = {
740 { 0, "explicitTermination" },
745 static const ber_choice_t T_validUntil_choice[] = {
746 { 0, &hf_dop_explicitTermination, BER_CLASS_CON, 0, 0, dissect_dop_NULL },
747 { 1, &hf_dop_time , BER_CLASS_CON, 1, 0, dissect_dop_Time },
748 { 0, NULL, 0, 0, 0, NULL }
752 dissect_dop_T_validUntil(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
753 offset = dissect_ber_choice(actx, tree, tvb, offset,
754 T_validUntil_choice, hf_index, ett_dop_T_validUntil,
761 static const ber_sequence_t Validity_sequence[] = {
762 { &hf_dop_validFrom , BER_CLASS_CON, 0, 0, dissect_dop_T_validFrom },
763 { &hf_dop_validUntil , BER_CLASS_CON, 1, 0, dissect_dop_T_validUntil },
764 { NULL, 0, 0, 0, NULL }
768 dissect_dop_Validity(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
769 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
770 Validity_sequence, hf_index, ett_dop_Validity);
776 static const ber_sequence_t EstablishOperationalBindingArgumentData_sequence[] = {
777 { &hf_dop_bindingType , BER_CLASS_CON, 0, 0, dissect_dop_BindingType },
778 { &hf_dop_bindingID , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dop_OperationalBindingID },
779 { &hf_dop_accessPoint , BER_CLASS_CON, 2, 0, dissect_dsp_AccessPoint },
780 { &hf_dop_establishInitiator, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_dop_EstablishArgumentInitiator },
781 { &hf_dop_agreement , BER_CLASS_CON, 6, 0, dissect_dop_T_agreement },
782 { &hf_dop_valid , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_dop_Validity },
783 { &hf_dop_securityParameters, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_dap_SecurityParameters },
784 { NULL, 0, 0, 0, NULL }
788 dissect_dop_EstablishOperationalBindingArgumentData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
789 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
790 EstablishOperationalBindingArgumentData_sequence, hf_index, ett_dop_EstablishOperationalBindingArgumentData);
798 dissect_dop_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_) {
799 offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset,
807 static const ber_sequence_t T_signedEstablishOperationalBindingArgument_sequence[] = {
808 { &hf_dop_establishOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_EstablishOperationalBindingArgumentData },
809 { &hf_dop_algorithmIdentifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier },
810 { &hf_dop_encrypted , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_dop_BIT_STRING },
811 { NULL, 0, 0, 0, NULL }
815 dissect_dop_T_signedEstablishOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
816 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
817 T_signedEstablishOperationalBindingArgument_sequence, hf_index, ett_dop_T_signedEstablishOperationalBindingArgument);
823 static const value_string dop_EstablishOperationalBindingArgument_vals[] = {
824 { 0, "unsignedEstablishOperationalBindingArgument" },
825 { 1, "signedEstablishOperationalBindingArgument" },
829 static const ber_choice_t EstablishOperationalBindingArgument_choice[] = {
830 { 0, &hf_dop_unsignedEstablishOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_EstablishOperationalBindingArgumentData },
831 { 1, &hf_dop_signedEstablishOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_T_signedEstablishOperationalBindingArgument },
832 { 0, NULL, 0, 0, 0, NULL }
836 dissect_dop_EstablishOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
837 offset = dissect_ber_choice(actx, tree, tvb, offset,
838 EstablishOperationalBindingArgument_choice, hf_index, ett_dop_EstablishOperationalBindingArgument,
847 dissect_dop_T_symmetric(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
850 offset = call_dop_oid_callback("establish.symmetric", tvb, offset, actx->pinfo, tree, "symmetric");
860 dissect_dop_T_roleA_replies(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
863 offset = call_dop_oid_callback("establish.rolea", tvb, offset, actx->pinfo, tree, "roleA");
873 dissect_dop_T_roleB_replies(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
876 offset = call_dop_oid_callback("establish.roleb", tvb, offset, actx->pinfo, tree, "roleB");
884 static const value_string dop_T_initiator_vals[] = {
886 { 4, "roleA-replies" },
887 { 5, "roleB-replies" },
891 static const ber_choice_t T_initiator_choice[] = {
892 { 3, &hf_dop_symmetric , BER_CLASS_CON, 3, 0, dissect_dop_T_symmetric },
893 { 4, &hf_dop_roleA_replies , BER_CLASS_CON, 4, 0, dissect_dop_T_roleA_replies },
894 { 5, &hf_dop_roleB_replies , BER_CLASS_CON, 5, 0, dissect_dop_T_roleB_replies },
895 { 0, NULL, 0, 0, 0, NULL }
899 dissect_dop_T_initiator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
900 offset = dissect_ber_choice(actx, tree, tvb, offset,
901 T_initiator_choice, hf_index, ett_dop_T_initiator,
908 static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_Attribute_sequence_of[1] = {
909 { &hf_dop_notification_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_Attribute },
913 dissect_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
914 offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
915 SEQUENCE_SIZE_1_MAX_OF_Attribute_sequence_of, hf_index, ett_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute);
921 static const ber_sequence_t EstablishOperationalBindingResult_sequence[] = {
922 { &hf_dop_bindingType , BER_CLASS_CON, 0, 0, dissect_dop_BindingType },
923 { &hf_dop_bindingID , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dop_OperationalBindingID },
924 { &hf_dop_accessPoint , BER_CLASS_CON, 2, 0, dissect_dsp_AccessPoint },
925 { &hf_dop_initiator , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_dop_T_initiator },
926 { &hf_dop_securityParameters, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL, dissect_dap_SecurityParameters },
927 { &hf_dop_performer , BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_x509if_DistinguishedName },
928 { &hf_dop_aliasDereferenced, BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_dop_BOOLEAN },
929 { &hf_dop_notification , BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL, dissect_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute },
930 { NULL, 0, 0, 0, NULL }
934 dissect_dop_EstablishOperationalBindingResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
935 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
936 EstablishOperationalBindingResult_sequence, hf_index, ett_dop_EstablishOperationalBindingResult);
944 dissect_dop_ModifySymmetric(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
947 offset = call_dop_oid_callback("modify.symmetric", tvb, offset, actx->pinfo, tree, "symmetric");
957 dissect_dop_ModifyRoleAInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
960 offset = call_dop_oid_callback("modify.rolea", tvb, offset, actx->pinfo, tree, "roleA");
970 dissect_dop_ModifyRoleBInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
973 offset = call_dop_oid_callback("modify.roleb", tvb, offset, actx->pinfo, tree, "roleB");
981 static const value_string dop_ModifyArgumentInitiator_vals[] = {
983 { 4, "roleA-initiates" },
984 { 5, "roleB-initiates" },
988 static const ber_choice_t ModifyArgumentInitiator_choice[] = {
989 { 3, &hf_dop_modifySymmetric , BER_CLASS_CON, 3, 0, dissect_dop_ModifySymmetric },
990 { 4, &hf_dop_modifyRoleAInitiates, BER_CLASS_CON, 4, 0, dissect_dop_ModifyRoleAInitiates },
991 { 5, &hf_dop_modifyRoleBInitiates, BER_CLASS_CON, 5, 0, dissect_dop_ModifyRoleBInitiates },
992 { 0, NULL, 0, 0, 0, NULL }
996 dissect_dop_ModifyArgumentInitiator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
997 offset = dissect_ber_choice(actx, tree, tvb, offset,
998 ModifyArgumentInitiator_choice, hf_index, ett_dop_ModifyArgumentInitiator,
1007 dissect_dop_ArgumentNewAgreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1010 offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL);
1019 static const ber_sequence_t ModifyOperationalBindingArgumentData_sequence[] = {
1020 { &hf_dop_bindingType , BER_CLASS_CON, 0, 0, dissect_dop_BindingType },
1021 { &hf_dop_bindingID , BER_CLASS_CON, 1, 0, dissect_dop_OperationalBindingID },
1022 { &hf_dop_accessPoint , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dsp_AccessPoint },
1023 { &hf_dop_modifyInitiator , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_dop_ModifyArgumentInitiator },
1024 { &hf_dop_newBindingID , BER_CLASS_CON, 6, 0, dissect_dop_OperationalBindingID },
1025 { &hf_dop_argumentNewAgreement, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_dop_ArgumentNewAgreement },
1026 { &hf_dop_valid , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_dop_Validity },
1027 { &hf_dop_securityParameters, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL, dissect_dap_SecurityParameters },
1028 { NULL, 0, 0, 0, NULL }
1032 dissect_dop_ModifyOperationalBindingArgumentData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1033 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1034 ModifyOperationalBindingArgumentData_sequence, hf_index, ett_dop_ModifyOperationalBindingArgumentData);
1040 static const ber_sequence_t T_signedModifyOperationalBindingArgument_sequence[] = {
1041 { &hf_dop_modifyOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_ModifyOperationalBindingArgumentData },
1042 { &hf_dop_algorithmIdentifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier },
1043 { &hf_dop_encrypted , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_dop_BIT_STRING },
1044 { NULL, 0, 0, 0, NULL }
1048 dissect_dop_T_signedModifyOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1049 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1050 T_signedModifyOperationalBindingArgument_sequence, hf_index, ett_dop_T_signedModifyOperationalBindingArgument);
1056 static const value_string dop_ModifyOperationalBindingArgument_vals[] = {
1057 { 0, "unsignedModifyOperationalBindingArgument" },
1058 { 1, "signedModifyOperationalBindingArgument" },
1062 static const ber_choice_t ModifyOperationalBindingArgument_choice[] = {
1063 { 0, &hf_dop_unsignedModifyOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_ModifyOperationalBindingArgumentData },
1064 { 1, &hf_dop_signedModifyOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_T_signedModifyOperationalBindingArgument },
1065 { 0, NULL, 0, 0, 0, NULL }
1069 dissect_dop_ModifyOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1070 offset = dissect_ber_choice(actx, tree, tvb, offset,
1071 ModifyOperationalBindingArgument_choice, hf_index, ett_dop_ModifyOperationalBindingArgument,
1080 dissect_dop_ResultNewAgreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1083 offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL);
1091 static const ber_sequence_t ModifyOperationalBindingResultData_sequence[] = {
1092 { &hf_dop_newBindingID , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_OperationalBindingID },
1093 { &hf_dop_bindingType , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_dop_BindingType },
1094 { &hf_dop_resultNewAgreement, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_dop_ResultNewAgreement },
1095 { &hf_dop_valid , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dop_Validity },
1096 { &hf_dop_securityParameters, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL, dissect_dap_SecurityParameters },
1097 { &hf_dop_performer , BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_x509if_DistinguishedName },
1098 { &hf_dop_aliasDereferenced, BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_dop_BOOLEAN },
1099 { &hf_dop_notification , BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL, dissect_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute },
1100 { NULL, 0, 0, 0, NULL }
1104 dissect_dop_ModifyOperationalBindingResultData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1105 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1106 ModifyOperationalBindingResultData_sequence, hf_index, ett_dop_ModifyOperationalBindingResultData);
1112 static const ber_sequence_t ProtectedModifyResult_sequence[] = {
1113 { &hf_dop_modifyOperationalBindingResultData, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_ModifyOperationalBindingResultData },
1114 { &hf_dop_algorithmIdentifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier },
1115 { &hf_dop_encrypted , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_dop_BIT_STRING },
1116 { NULL, 0, 0, 0, NULL }
1120 dissect_dop_ProtectedModifyResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1121 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1122 ProtectedModifyResult_sequence, hf_index, ett_dop_ProtectedModifyResult);
1128 static const value_string dop_ModifyOperationalBindingResult_vals[] = {
1134 static const ber_choice_t ModifyOperationalBindingResult_choice[] = {
1135 { 0, &hf_dop_null , BER_CLASS_CON, 0, 0, dissect_dop_NULL },
1136 { 1, &hf_dop_protectedModifyResult, BER_CLASS_CON, 1, 0, dissect_dop_ProtectedModifyResult },
1137 { 0, NULL, 0, 0, 0, NULL }
1141 dissect_dop_ModifyOperationalBindingResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1142 offset = dissect_ber_choice(actx, tree, tvb, offset,
1143 ModifyOperationalBindingResult_choice, hf_index, ett_dop_ModifyOperationalBindingResult,
1152 dissect_dop_TerminateSymmetric(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1155 offset = call_dop_oid_callback("terminate.symmetric", tvb, offset, actx->pinfo, tree, "symmetric");
1165 dissect_dop_TerminateRoleAInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1168 offset = call_dop_oid_callback("terminate.rolea", tvb, offset, actx->pinfo, tree, "roleA");
1178 dissect_dop_TerminateRoleBInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1181 offset = call_dop_oid_callback("terminate.roleb", tvb, offset, actx->pinfo, tree, "roleB");
1189 static const value_string dop_TerminateArgumentInitiator_vals[] = {
1191 { 3, "roleA-initiates" },
1192 { 4, "roleB-initiates" },
1196 static const ber_choice_t TerminateArgumentInitiator_choice[] = {
1197 { 2, &hf_dop_terminateSymmetric, BER_CLASS_CON, 2, 0, dissect_dop_TerminateSymmetric },
1198 { 3, &hf_dop_terminateRoleAInitiates, BER_CLASS_CON, 3, 0, dissect_dop_TerminateRoleAInitiates },
1199 { 4, &hf_dop_terminateRoleBInitiates, BER_CLASS_CON, 4, 0, dissect_dop_TerminateRoleBInitiates },
1200 { 0, NULL, 0, 0, 0, NULL }
1204 dissect_dop_TerminateArgumentInitiator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1205 offset = dissect_ber_choice(actx, tree, tvb, offset,
1206 TerminateArgumentInitiator_choice, hf_index, ett_dop_TerminateArgumentInitiator,
1213 static const ber_sequence_t TerminateOperationalBindingArgumentData_sequence[] = {
1214 { &hf_dop_bindingType , BER_CLASS_CON, 0, 0, dissect_dop_BindingType },
1215 { &hf_dop_bindingID , BER_CLASS_CON, 1, 0, dissect_dop_OperationalBindingID },
1216 { &hf_dop_terminateInitiator, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_dop_TerminateArgumentInitiator },
1217 { &hf_dop_terminateAtTime , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_dop_Time },
1218 { &hf_dop_securityParameters, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL, dissect_dap_SecurityParameters },
1219 { NULL, 0, 0, 0, NULL }
1223 dissect_dop_TerminateOperationalBindingArgumentData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1224 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1225 TerminateOperationalBindingArgumentData_sequence, hf_index, ett_dop_TerminateOperationalBindingArgumentData);
1231 static const ber_sequence_t T_signedTerminateOperationalBindingArgument_sequence[] = {
1232 { &hf_dop_terminateOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_TerminateOperationalBindingArgumentData },
1233 { &hf_dop_algorithmIdentifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier },
1234 { &hf_dop_encrypted , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_dop_BIT_STRING },
1235 { NULL, 0, 0, 0, NULL }
1239 dissect_dop_T_signedTerminateOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1240 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1241 T_signedTerminateOperationalBindingArgument_sequence, hf_index, ett_dop_T_signedTerminateOperationalBindingArgument);
1247 static const value_string dop_TerminateOperationalBindingArgument_vals[] = {
1248 { 0, "unsignedTerminateOperationalBindingArgument" },
1249 { 1, "signedTerminateOperationalBindingArgument" },
1253 static const ber_choice_t TerminateOperationalBindingArgument_choice[] = {
1254 { 0, &hf_dop_unsignedTerminateOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_TerminateOperationalBindingArgumentData },
1255 { 1, &hf_dop_signedTerminateOperationalBindingArgument, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_T_signedTerminateOperationalBindingArgument },
1256 { 0, NULL, 0, 0, 0, NULL }
1260 dissect_dop_TerminateOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1261 offset = dissect_ber_choice(actx, tree, tvb, offset,
1262 TerminateOperationalBindingArgument_choice, hf_index, ett_dop_TerminateOperationalBindingArgument,
1269 static const ber_sequence_t TerminateOperationalBindingResultData_sequence[] = {
1270 { &hf_dop_bindingID , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_OperationalBindingID },
1271 { &hf_dop_bindingType , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_dop_BindingType },
1272 { &hf_dop_terminateAtGeneralizedTime, BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dop_GeneralizedTime },
1273 { &hf_dop_securityParameters, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL, dissect_dap_SecurityParameters },
1274 { &hf_dop_performer , BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_x509if_DistinguishedName },
1275 { &hf_dop_aliasDereferenced, BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_dop_BOOLEAN },
1276 { &hf_dop_notification , BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL, dissect_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute },
1277 { NULL, 0, 0, 0, NULL }
1281 dissect_dop_TerminateOperationalBindingResultData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1282 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1283 TerminateOperationalBindingResultData_sequence, hf_index, ett_dop_TerminateOperationalBindingResultData);
1289 static const ber_sequence_t ProtectedTerminateResult_sequence[] = {
1290 { &hf_dop_terminateOperationalBindingResultData, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_TerminateOperationalBindingResultData },
1291 { &hf_dop_algorithmIdentifier, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509af_AlgorithmIdentifier },
1292 { &hf_dop_encrypted , BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_dop_BIT_STRING },
1293 { NULL, 0, 0, 0, NULL }
1297 dissect_dop_ProtectedTerminateResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1298 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1299 ProtectedTerminateResult_sequence, hf_index, ett_dop_ProtectedTerminateResult);
1305 static const value_string dop_TerminateOperationalBindingResult_vals[] = {
1311 static const ber_choice_t TerminateOperationalBindingResult_choice[] = {
1312 { 0, &hf_dop_null , BER_CLASS_CON, 0, 0, dissect_dop_NULL },
1313 { 1, &hf_dop_protectedTerminateResult, BER_CLASS_CON, 1, 0, dissect_dop_ProtectedTerminateResult },
1314 { 0, NULL, 0, 0, 0, NULL }
1318 dissect_dop_TerminateOperationalBindingResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1319 offset = dissect_ber_choice(actx, tree, tvb, offset,
1320 TerminateOperationalBindingResult_choice, hf_index, ett_dop_TerminateOperationalBindingResult,
1327 static const value_string dop_T_problem_vals[] = {
1329 { 1, "duplicateID" },
1330 { 2, "unsupportedBindingType" },
1331 { 3, "notAllowedForRole" },
1332 { 4, "parametersMissing" },
1333 { 5, "roleAssignment" },
1334 { 6, "invalidStartTime" },
1335 { 7, "invalidEndTime" },
1336 { 8, "invalidAgreement" },
1337 { 9, "currentlyNotDecidable" },
1338 { 10, "modificationNotAllowed" },
1344 dissect_dop_T_problem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1345 offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1354 dissect_dop_T_agreementProposal(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1357 offset = call_dop_oid_callback("agreement", tvb, offset, actx->pinfo, tree, NULL);
1365 static const ber_sequence_t OpBindingErrorParam_sequence[] = {
1366 { &hf_dop_problem , BER_CLASS_CON, 0, 0, dissect_dop_T_problem },
1367 { &hf_dop_bindingType , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dop_BindingType },
1368 { &hf_dop_agreementProposal, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_T_agreementProposal },
1369 { &hf_dop_retryAt , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_dop_Time },
1370 { &hf_dop_securityParameters, BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL, dissect_dap_SecurityParameters },
1371 { &hf_dop_performer , BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_x509if_DistinguishedName },
1372 { &hf_dop_aliasDereferenced, BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_dop_BOOLEAN },
1373 { &hf_dop_notification , BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL, dissect_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute },
1374 { NULL, 0, 0, 0, NULL }
1378 dissect_dop_OpBindingErrorParam(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1379 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1380 OpBindingErrorParam_sequence, hf_index, ett_dop_OpBindingErrorParam);
1386 static const ber_sequence_t HierarchicalAgreement_sequence[] = {
1387 { &hf_dop_rdn , BER_CLASS_CON, 0, 0, dissect_x509if_RelativeDistinguishedName },
1388 { &hf_dop_immediateSuperior, BER_CLASS_CON, 1, 0, dissect_x509if_DistinguishedName },
1389 { NULL, 0, 0, 0, NULL }
1393 dissect_dop_HierarchicalAgreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1394 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1395 HierarchicalAgreement_sequence, hf_index, ett_dop_HierarchicalAgreement);
1401 static const ber_sequence_t SET_OF_Attribute_set_of[1] = {
1402 { &hf_dop_entryInfo_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_Attribute },
1406 dissect_dop_SET_OF_Attribute(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1407 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1408 SET_OF_Attribute_set_of, hf_index, ett_dop_SET_OF_Attribute);
1414 static const ber_sequence_t SubentryInfo_sequence[] = {
1415 { &hf_dop_rdn , BER_CLASS_CON, 0, 0, dissect_x509if_RelativeDistinguishedName },
1416 { &hf_dop_info , BER_CLASS_CON, 1, 0, dissect_dop_SET_OF_Attribute },
1417 { NULL, 0, 0, 0, NULL }
1421 dissect_dop_SubentryInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1422 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1423 SubentryInfo_sequence, hf_index, ett_dop_SubentryInfo);
1429 static const ber_sequence_t SET_OF_SubentryInfo_set_of[1] = {
1430 { &hf_dop_subentries_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_SubentryInfo },
1434 dissect_dop_SET_OF_SubentryInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1435 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1436 SET_OF_SubentryInfo_set_of, hf_index, ett_dop_SET_OF_SubentryInfo);
1442 static const ber_sequence_t Vertex_sequence[] = {
1443 { &hf_dop_rdn , BER_CLASS_CON, 0, 0, dissect_x509if_RelativeDistinguishedName },
1444 { &hf_dop_admPointInfo , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_Attribute },
1445 { &hf_dop_subentries , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_SubentryInfo },
1446 { &hf_dop_accessPoints , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_dsp_MasterAndShadowAccessPoints },
1447 { NULL, 0, 0, 0, NULL }
1451 dissect_dop_Vertex(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1452 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1453 Vertex_sequence, hf_index, ett_dop_Vertex);
1459 static const ber_sequence_t DITcontext_sequence_of[1] = {
1460 { &hf_dop_DITcontext_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_Vertex },
1464 dissect_dop_DITcontext(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1465 offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
1466 DITcontext_sequence_of, hf_index, ett_dop_DITcontext);
1472 static const ber_sequence_t SuperiorToSubordinate_sequence[] = {
1473 { &hf_dop_contextPrefixInfo, BER_CLASS_CON, 0, 0, dissect_dop_DITcontext },
1474 { &hf_dop_entryInfo , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_Attribute },
1475 { &hf_dop_immediateSuperiorInfo, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_Attribute },
1476 { NULL, 0, 0, 0, NULL }
1480 dissect_dop_SuperiorToSubordinate(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1481 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1482 SuperiorToSubordinate_sequence, hf_index, ett_dop_SuperiorToSubordinate);
1488 static const ber_sequence_t SubordinateToSuperior_sequence[] = {
1489 { &hf_dop_accessPoints , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_dsp_MasterAndShadowAccessPoints },
1490 { &hf_dop_alias , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dop_BOOLEAN },
1491 { &hf_dop_entryInfo , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_Attribute },
1492 { &hf_dop_subentries , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_SubentryInfo },
1493 { NULL, 0, 0, 0, NULL }
1497 dissect_dop_SubordinateToSuperior(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1498 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1499 SubordinateToSuperior_sequence, hf_index, ett_dop_SubordinateToSuperior);
1505 static const ber_sequence_t SuperiorToSubordinateModification_sequence[] = {
1506 { &hf_dop_contextPrefixInfo, BER_CLASS_CON, 0, 0, dissect_dop_DITcontext },
1507 { &hf_dop_immediateSuperiorInfo, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_Attribute },
1508 { NULL, 0, 0, 0, NULL }
1512 dissect_dop_SuperiorToSubordinateModification(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1513 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1514 SuperiorToSubordinateModification_sequence, hf_index, ett_dop_SuperiorToSubordinateModification);
1520 static const ber_sequence_t NonSpecificHierarchicalAgreement_sequence[] = {
1521 { &hf_dop_immediateSuperior, BER_CLASS_CON, 1, 0, dissect_x509if_DistinguishedName },
1522 { NULL, 0, 0, 0, NULL }
1526 dissect_dop_NonSpecificHierarchicalAgreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1527 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1528 NonSpecificHierarchicalAgreement_sequence, hf_index, ett_dop_NonSpecificHierarchicalAgreement);
1534 static const ber_sequence_t NHOBSuperiorToSubordinate_sequence[] = {
1535 { &hf_dop_contextPrefixInfo, BER_CLASS_CON, 0, 0, dissect_dop_DITcontext },
1536 { &hf_dop_immediateSuperiorInfo, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_Attribute },
1537 { NULL, 0, 0, 0, NULL }
1541 dissect_dop_NHOBSuperiorToSubordinate(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1542 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1543 NHOBSuperiorToSubordinate_sequence, hf_index, ett_dop_NHOBSuperiorToSubordinate);
1549 static const ber_sequence_t NHOBSubordinateToSuperior_sequence[] = {
1550 { &hf_dop_accessPoints , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_dsp_MasterAndShadowAccessPoints },
1551 { &hf_dop_subentries , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_SubentryInfo },
1552 { NULL, 0, 0, 0, NULL }
1556 dissect_dop_NHOBSubordinateToSuperior(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1557 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1558 NHOBSubordinateToSuperior_sequence, hf_index, ett_dop_NHOBSubordinateToSuperior);
1566 dissect_dop_Precedence(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1568 guint32 precedence = 0;
1570 offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1574 proto_item_append_text(tree, " precedence=%d", precedence);
1582 static const value_string dop_T_level_vals[] = {
1591 dissect_dop_T_level(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1592 offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1601 dissect_dop_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_) {
1602 offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
1609 static const ber_sequence_t T_basicLevels_sequence[] = {
1610 { &hf_dop_level , BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_NOOWNTAG, dissect_dop_T_level },
1611 { &hf_dop_localQualifier , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dop_INTEGER },
1612 { &hf_dop_signed , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dop_BOOLEAN },
1613 { NULL, 0, 0, 0, NULL }
1617 dissect_dop_T_basicLevels(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1618 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1619 T_basicLevels_sequence, hf_index, ett_dop_T_basicLevels);
1627 dissect_dop_EXTERNAL(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1628 offset = dissect_ber_external_type(implicit_tag, tree, tvb, offset, actx, hf_index, NULL);
1634 static const value_string dop_AuthenticationLevel_vals[] = {
1635 { 0, "basicLevels" },
1640 static const ber_choice_t AuthenticationLevel_choice[] = {
1641 { 0, &hf_dop_basicLevels , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_T_basicLevels },
1642 { 1, &hf_dop_other , BER_CLASS_UNI, BER_UNI_TAG_EXTERNAL, BER_FLAGS_NOOWNTAG, dissect_dop_EXTERNAL },
1643 { 0, NULL, 0, 0, 0, NULL }
1647 dissect_dop_AuthenticationLevel(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1648 offset = dissect_ber_choice(actx, tree, tvb, offset,
1649 AuthenticationLevel_choice, hf_index, ett_dop_AuthenticationLevel,
1656 static const ber_sequence_t SET_OF_AttributeType_set_of[1] = {
1657 { &hf_dop_attributeType_item, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeType },
1661 dissect_dop_SET_OF_AttributeType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1662 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1663 SET_OF_AttributeType_set_of, hf_index, ett_dop_SET_OF_AttributeType);
1669 static const ber_sequence_t SET_OF_AttributeTypeAndValue_set_of[1] = {
1670 { &hf_dop_attributeValue_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_crmf_AttributeTypeAndValue },
1674 dissect_dop_SET_OF_AttributeTypeAndValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1675 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1676 SET_OF_AttributeTypeAndValue_set_of, hf_index, ett_dop_SET_OF_AttributeTypeAndValue);
1682 static const ber_sequence_t MaxValueCount_sequence[] = {
1683 { &hf_dop_type , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeType },
1684 { &hf_dop_maxCount , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_dop_INTEGER },
1685 { NULL, 0, 0, 0, NULL }
1689 dissect_dop_MaxValueCount(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1690 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1691 MaxValueCount_sequence, hf_index, ett_dop_MaxValueCount);
1697 static const ber_sequence_t SET_OF_MaxValueCount_set_of[1] = {
1698 { &hf_dop_maxValueCount_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_MaxValueCount },
1702 dissect_dop_SET_OF_MaxValueCount(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1703 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1704 SET_OF_MaxValueCount_set_of, hf_index, ett_dop_SET_OF_MaxValueCount);
1710 static const ber_sequence_t RestrictedValue_sequence[] = {
1711 { &hf_dop_type , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeType },
1712 { &hf_dop_valuesIn , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_x509if_AttributeType },
1713 { NULL, 0, 0, 0, NULL }
1717 dissect_dop_RestrictedValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1718 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1719 RestrictedValue_sequence, hf_index, ett_dop_RestrictedValue);
1725 static const ber_sequence_t SET_OF_RestrictedValue_set_of[1] = {
1726 { &hf_dop_restrictedBy_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_RestrictedValue },
1730 dissect_dop_SET_OF_RestrictedValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1731 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1732 SET_OF_RestrictedValue_set_of, hf_index, ett_dop_SET_OF_RestrictedValue);
1738 static const ber_sequence_t SET_OF_ContextAssertion_set_of[1] = {
1739 { &hf_dop_contexts_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_ContextAssertion },
1743 dissect_dop_SET_OF_ContextAssertion(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1744 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1745 SET_OF_ContextAssertion_set_of, hf_index, ett_dop_SET_OF_ContextAssertion);
1751 static const ber_sequence_t ProtectedItems_sequence[] = {
1752 { &hf_dop_entry , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_dop_NULL },
1753 { &hf_dop_allUserAttributeTypes, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dop_NULL },
1754 { &hf_dop_attributeType , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_AttributeType },
1755 { &hf_dop_allAttributeValues, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_AttributeType },
1756 { &hf_dop_allUserAttributeTypesAndValues, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_dop_NULL },
1757 { &hf_dop_attributeValue , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_AttributeTypeAndValue },
1758 { &hf_dop_selfValue , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_AttributeType },
1759 { &hf_dop_rangeOfValues , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_dap_Filter },
1760 { &hf_dop_maxValueCount , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_MaxValueCount },
1761 { &hf_dop_maxImmSub , BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL, dissect_dop_INTEGER },
1762 { &hf_dop_restrictedBy , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_RestrictedValue },
1763 { &hf_dop_contexts , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_ContextAssertion },
1764 { &hf_dop_classes , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL, dissect_x509if_Refinement },
1765 { NULL, 0, 0, 0, NULL }
1769 dissect_dop_ProtectedItems(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1770 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1771 ProtectedItems_sequence, hf_index, ett_dop_ProtectedItems);
1777 static const ber_sequence_t SET_OF_NameAndOptionalUID_set_of[1] = {
1778 { &hf_dop_name_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509sat_NameAndOptionalUID },
1782 dissect_dop_SET_OF_NameAndOptionalUID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1783 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1784 SET_OF_NameAndOptionalUID_set_of, hf_index, ett_dop_SET_OF_NameAndOptionalUID);
1790 static const ber_sequence_t SET_OF_SubtreeSpecification_set_of[1] = {
1791 { &hf_dop_subtree_item , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_x509if_SubtreeSpecification },
1795 dissect_dop_SET_OF_SubtreeSpecification(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1796 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1797 SET_OF_SubtreeSpecification_set_of, hf_index, ett_dop_SET_OF_SubtreeSpecification);
1803 static const ber_sequence_t UserClasses_sequence[] = {
1804 { &hf_dop_allUsers , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_dop_NULL },
1805 { &hf_dop_thisEntry , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_dop_NULL },
1806 { &hf_dop_name , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_NameAndOptionalUID },
1807 { &hf_dop_userGroup , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_NameAndOptionalUID },
1808 { &hf_dop_subtree , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_dop_SET_OF_SubtreeSpecification },
1809 { NULL, 0, 0, 0, NULL }
1813 dissect_dop_UserClasses(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1814 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1815 UserClasses_sequence, hf_index, ett_dop_UserClasses);
1821 static const asn_namedbit GrantsAndDenials_bits[] = {
1822 { 0, &hf_dop_GrantsAndDenials_grantAdd, -1, -1, "grantAdd", NULL },
1823 { 1, &hf_dop_GrantsAndDenials_denyAdd, -1, -1, "denyAdd", NULL },
1824 { 2, &hf_dop_GrantsAndDenials_grantDiscloseOnError, -1, -1, "grantDiscloseOnError", NULL },
1825 { 3, &hf_dop_GrantsAndDenials_denyDiscloseOnError, -1, -1, "denyDiscloseOnError", NULL },
1826 { 4, &hf_dop_GrantsAndDenials_grantRead, -1, -1, "grantRead", NULL },
1827 { 5, &hf_dop_GrantsAndDenials_denyRead, -1, -1, "denyRead", NULL },
1828 { 6, &hf_dop_GrantsAndDenials_grantRemove, -1, -1, "grantRemove", NULL },
1829 { 7, &hf_dop_GrantsAndDenials_denyRemove, -1, -1, "denyRemove", NULL },
1830 { 8, &hf_dop_GrantsAndDenials_grantBrowse, -1, -1, "grantBrowse", NULL },
1831 { 9, &hf_dop_GrantsAndDenials_denyBrowse, -1, -1, "denyBrowse", NULL },
1832 { 10, &hf_dop_GrantsAndDenials_grantExport, -1, -1, "grantExport", NULL },
1833 { 11, &hf_dop_GrantsAndDenials_denyExport, -1, -1, "denyExport", NULL },
1834 { 12, &hf_dop_GrantsAndDenials_grantImport, -1, -1, "grantImport", NULL },
1835 { 13, &hf_dop_GrantsAndDenials_denyImport, -1, -1, "denyImport", NULL },
1836 { 14, &hf_dop_GrantsAndDenials_grantModify, -1, -1, "grantModify", NULL },
1837 { 15, &hf_dop_GrantsAndDenials_denyModify, -1, -1, "denyModify", NULL },
1838 { 16, &hf_dop_GrantsAndDenials_grantRename, -1, -1, "grantRename", NULL },
1839 { 17, &hf_dop_GrantsAndDenials_denyRename, -1, -1, "denyRename", NULL },
1840 { 18, &hf_dop_GrantsAndDenials_grantReturnDN, -1, -1, "grantReturnDN", NULL },
1841 { 19, &hf_dop_GrantsAndDenials_denyReturnDN, -1, -1, "denyReturnDN", NULL },
1842 { 20, &hf_dop_GrantsAndDenials_grantCompare, -1, -1, "grantCompare", NULL },
1843 { 21, &hf_dop_GrantsAndDenials_denyCompare, -1, -1, "denyCompare", NULL },
1844 { 22, &hf_dop_GrantsAndDenials_grantFilterMatch, -1, -1, "grantFilterMatch", NULL },
1845 { 23, &hf_dop_GrantsAndDenials_denyFilterMatch, -1, -1, "denyFilterMatch", NULL },
1846 { 24, &hf_dop_GrantsAndDenials_grantInvoke, -1, -1, "grantInvoke", NULL },
1847 { 25, &hf_dop_GrantsAndDenials_denyInvoke, -1, -1, "denyInvoke", NULL },
1848 { 0, NULL, 0, 0, NULL, NULL }
1852 dissect_dop_GrantsAndDenials(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1853 offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset,
1854 GrantsAndDenials_bits, hf_index, ett_dop_GrantsAndDenials,
1861 static const ber_sequence_t ItemPermission_sequence[] = {
1862 { &hf_dop_precedence , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dop_Precedence },
1863 { &hf_dop_userClasses , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_UserClasses },
1864 { &hf_dop_grantsAndDenials, BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_dop_GrantsAndDenials },
1865 { NULL, 0, 0, 0, NULL }
1869 dissect_dop_ItemPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1870 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1871 ItemPermission_sequence, hf_index, ett_dop_ItemPermission);
1877 static const ber_sequence_t SET_OF_ItemPermission_set_of[1] = {
1878 { &hf_dop_itemPermissions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_ItemPermission },
1882 dissect_dop_SET_OF_ItemPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1883 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1884 SET_OF_ItemPermission_set_of, hf_index, ett_dop_SET_OF_ItemPermission);
1890 static const ber_sequence_t T_itemFirst_sequence[] = {
1891 { &hf_dop_protectedItems , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_ProtectedItems },
1892 { &hf_dop_itemPermissions , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_dop_SET_OF_ItemPermission },
1893 { NULL, 0, 0, 0, NULL }
1897 dissect_dop_T_itemFirst(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1898 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1899 T_itemFirst_sequence, hf_index, ett_dop_T_itemFirst);
1905 static const ber_sequence_t UserPermission_sequence[] = {
1906 { &hf_dop_precedence , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dop_Precedence },
1907 { &hf_dop_protectedItems , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_ProtectedItems },
1908 { &hf_dop_grantsAndDenials, BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_dop_GrantsAndDenials },
1909 { NULL, 0, 0, 0, NULL }
1913 dissect_dop_UserPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1914 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1915 UserPermission_sequence, hf_index, ett_dop_UserPermission);
1921 static const ber_sequence_t SET_OF_UserPermission_set_of[1] = {
1922 { &hf_dop_userPermissions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_UserPermission },
1926 dissect_dop_SET_OF_UserPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1927 offset = dissect_ber_set_of(implicit_tag, actx, tree, tvb, offset,
1928 SET_OF_UserPermission_set_of, hf_index, ett_dop_SET_OF_UserPermission);
1934 static const ber_sequence_t T_userFirst_sequence[] = {
1935 { &hf_dop_userClasses , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_dop_UserClasses },
1936 { &hf_dop_userPermissions , BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_dop_SET_OF_UserPermission },
1937 { NULL, 0, 0, 0, NULL }
1941 dissect_dop_T_userFirst(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1942 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1943 T_userFirst_sequence, hf_index, ett_dop_T_userFirst);
1949 static const value_string dop_T_itemOrUserFirst_vals[] = {
1955 static const ber_choice_t T_itemOrUserFirst_choice[] = {
1956 { 0, &hf_dop_itemFirst , BER_CLASS_CON, 0, 0, dissect_dop_T_itemFirst },
1957 { 1, &hf_dop_userFirst , BER_CLASS_CON, 1, 0, dissect_dop_T_userFirst },
1958 { 0, NULL, 0, 0, 0, NULL }
1962 dissect_dop_T_itemOrUserFirst(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1963 offset = dissect_ber_choice(actx, tree, tvb, offset,
1964 T_itemOrUserFirst_choice, hf_index, ett_dop_T_itemOrUserFirst,
1971 static const ber_sequence_t ACIItem_sequence[] = {
1972 { &hf_dop_identificationTag, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_x509sat_DirectoryString },
1973 { &hf_dop_precedence , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_dop_Precedence },
1974 { &hf_dop_authenticationLevel, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_dop_AuthenticationLevel },
1975 { &hf_dop_itemOrUserFirst , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_dop_T_itemOrUserFirst },
1976 { NULL, 0, 0, 0, NULL }
1980 dissect_dop_ACIItem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
1981 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
1982 ACIItem_sequence, hf_index, ett_dop_ACIItem);
1989 static void dissect_DSEType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
1990 asn1_ctx_t asn1_ctx;
1991 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
1992 dissect_dop_DSEType(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_DSEType_PDU);
1994 static void dissect_SupplierInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
1995 asn1_ctx_t asn1_ctx;
1996 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
1997 dissect_dop_SupplierInformation(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_SupplierInformation_PDU);
1999 static void dissect_ConsumerInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2000 asn1_ctx_t asn1_ctx;
2001 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2002 dissect_dop_ConsumerInformation(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_ConsumerInformation_PDU);
2004 static void dissect_SupplierAndConsumers_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2005 asn1_ctx_t asn1_ctx;
2006 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2007 dissect_dop_SupplierAndConsumers(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_SupplierAndConsumers_PDU);
2009 static void dissect_HierarchicalAgreement_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2010 asn1_ctx_t asn1_ctx;
2011 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2012 dissect_dop_HierarchicalAgreement(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_HierarchicalAgreement_PDU);
2014 static void dissect_SuperiorToSubordinate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2015 asn1_ctx_t asn1_ctx;
2016 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2017 dissect_dop_SuperiorToSubordinate(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_SuperiorToSubordinate_PDU);
2019 static void dissect_SubordinateToSuperior_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2020 asn1_ctx_t asn1_ctx;
2021 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2022 dissect_dop_SubordinateToSuperior(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_SubordinateToSuperior_PDU);
2024 static void dissect_SuperiorToSubordinateModification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2025 asn1_ctx_t asn1_ctx;
2026 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2027 dissect_dop_SuperiorToSubordinateModification(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_SuperiorToSubordinateModification_PDU);
2029 static void dissect_NonSpecificHierarchicalAgreement_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2030 asn1_ctx_t asn1_ctx;
2031 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2032 dissect_dop_NonSpecificHierarchicalAgreement(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_NonSpecificHierarchicalAgreement_PDU);
2034 static void dissect_NHOBSuperiorToSubordinate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2035 asn1_ctx_t asn1_ctx;
2036 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2037 dissect_dop_NHOBSuperiorToSubordinate(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_NHOBSuperiorToSubordinate_PDU);
2039 static void dissect_NHOBSubordinateToSuperior_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2040 asn1_ctx_t asn1_ctx;
2041 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2042 dissect_dop_NHOBSubordinateToSuperior(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_NHOBSubordinateToSuperior_PDU);
2044 static void dissect_ACIItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2045 asn1_ctx_t asn1_ctx;
2046 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2047 dissect_dop_ACIItem(FALSE, tvb, 0, &asn1_ctx, tree, hf_dop_ACIItem_PDU);
2051 /*--- End of included file: packet-dop-fn.c ---*/
2052 #line 91 "packet-dop-template.c"
2055 call_dop_oid_callback(char *base_string, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *col_info)
2057 char* binding_param;
2059 binding_param = ep_strdup_printf("%s.%s", base_string, binding_type ? binding_type : "");
2061 if (col_info && (check_col(pinfo->cinfo, COL_INFO)))
2062 col_append_fstr(pinfo->cinfo, COL_INFO, " %s", col_info);
2064 if (dissector_try_string(dop_dissector_table, binding_param, tvb, pinfo, tree)) {
2065 offset += tvb_length_remaining (tvb, offset);
2067 proto_item *item=NULL;
2068 proto_tree *next_tree=NULL;
2070 item = proto_tree_add_text(tree, tvb, 0, tvb_length_remaining(tvb, offset), "Dissector for parameter %s OID:%s not implemented. Contact Wireshark developers if you want this supported", base_string, binding_type ? binding_type : "<empty>");
2072 next_tree = proto_item_add_subtree(item, ett_dop_unknown);
2074 offset = dissect_unknown_ber(pinfo, tvb, offset, next_tree);
2075 expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN, "Unknown binding-parameter");
2083 * Dissect DOP PDUs inside a ROS PDUs
2086 dissect_dop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
2090 proto_item *item=NULL;
2091 proto_tree *tree=NULL;
2092 int (*dop_dissector)(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_) = NULL;
2094 asn1_ctx_t asn1_ctx;
2096 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
2098 /* do we have operation information from the ROS dissector? */
2099 if( !pinfo->private_data ){
2101 proto_tree_add_text(parent_tree, tvb, offset, -1,
2102 "Internal error: can't get operation information from ROS dissector.");
2106 session = ( (struct SESSION_DATA_STRUCTURE*)(pinfo->private_data) );
2110 item = proto_tree_add_item(parent_tree, proto_dop, tvb, 0, -1, FALSE);
2111 tree = proto_item_add_subtree(item, ett_dop);
2113 if (check_col(pinfo->cinfo, COL_PROTOCOL))
2114 col_set_str(pinfo->cinfo, COL_PROTOCOL, "DOP");
2115 if (check_col(pinfo->cinfo, COL_INFO))
2116 col_clear(pinfo->cinfo, COL_INFO);
2118 switch(session->ros_op & ROS_OP_MASK) {
2119 case (ROS_OP_BIND | ROS_OP_ARGUMENT): /* BindInvoke */
2120 dop_dissector = dissect_dop_DSAOperationalManagementBindArgument;
2121 dop_op_name = "DSA-Operational-Bind-Argument";
2123 case (ROS_OP_BIND | ROS_OP_RESULT): /* BindResult */
2124 dop_dissector = dissect_dop_DSAOperationalManagementBindResult;
2125 dop_op_name = "DSA-Operational-Bind-Result";
2127 case (ROS_OP_BIND | ROS_OP_ERROR): /* BindError */
2128 dop_dissector = dissect_dop_DSAOperationalManagementBindError;
2129 dop_op_name = "DSA-Operational-Management-Bind-Error";
2131 case (ROS_OP_INVOKE | ROS_OP_ARGUMENT): /* Invoke Argument */
2132 switch(session->ros_op & ROS_OP_OPCODE_MASK) {
2133 case 100: /* establish */
2134 dop_dissector = dissect_dop_EstablishOperationalBindingArgument;
2135 dop_op_name = "Establish-Operational-Binding-Argument";
2137 case 101: /* terminate */
2138 dop_dissector = dissect_dop_TerminateOperationalBindingArgument;
2139 dop_op_name = "Terminate-Operational-Binding-Argument";
2141 case 102: /* modify */
2142 dop_dissector = dissect_dop_ModifyOperationalBindingArgument;
2143 dop_op_name = "Modify-Operational-Binding-Argument";
2146 proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DOP Argument opcode (%d)",
2147 session->ros_op & ROS_OP_OPCODE_MASK);
2151 case (ROS_OP_INVOKE | ROS_OP_RESULT): /* Return Result */
2152 switch(session->ros_op & ROS_OP_OPCODE_MASK) {
2153 case 100: /* establish */
2154 dop_dissector = dissect_dop_EstablishOperationalBindingResult;
2155 dop_op_name = "Establish-Operational-Binding-Result";
2157 case 101: /* terminate */
2158 dop_dissector = dissect_dop_TerminateOperationalBindingResult;
2159 dop_op_name = "Terminate-Operational-Binding-Result";
2161 case 102: /* modify */
2162 dop_dissector = dissect_dop_ModifyOperationalBindingResult;
2163 dop_op_name = "Modify-Operational-Binding-Result";
2166 proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DOP Result opcode (%d)",
2167 session->ros_op & ROS_OP_OPCODE_MASK);
2171 case (ROS_OP_INVOKE | ROS_OP_ERROR): /* Return Error */
2172 switch(session->ros_op & ROS_OP_OPCODE_MASK) {
2173 case 100: /* operational-binding */
2174 dop_dissector = dissect_dop_OpBindingErrorParam;
2175 dop_op_name = "Operational-Binding-Error";
2178 proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DOP Error opcode (%d)",
2179 session->ros_op & ROS_OP_OPCODE_MASK);
2184 proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DOP PDU");
2189 if (check_col(pinfo->cinfo, COL_INFO))
2190 col_set_str(pinfo->cinfo, COL_INFO, dop_op_name);
2192 while (tvb_reported_length_remaining(tvb, offset) > 0){
2194 offset=(*dop_dissector)(FALSE, tvb, offset, &asn1_ctx, tree, -1);
2195 if(offset == old_offset){
2196 proto_tree_add_text(tree, tvb, offset, -1,"Internal error, zero-byte DOP PDU");
2205 /*--- proto_register_dop -------------------------------------------*/
2206 void proto_register_dop(void) {
2208 /* List of fields */
2209 static hf_register_info hf[] =
2212 /*--- Included file: packet-dop-hfarr.c ---*/
2213 #line 1 "packet-dop-hfarr.c"
2214 { &hf_dop_DSEType_PDU,
2215 { "DSEType", "dop.DSEType",
2216 FT_BYTES, BASE_NONE, NULL, 0,
2217 "dop.DSEType", HFILL }},
2218 { &hf_dop_SupplierInformation_PDU,
2219 { "SupplierInformation", "dop.SupplierInformation",
2220 FT_NONE, BASE_NONE, NULL, 0,
2221 "dop.SupplierInformation", HFILL }},
2222 { &hf_dop_ConsumerInformation_PDU,
2223 { "ConsumerInformation", "dop.ConsumerInformation",
2224 FT_NONE, BASE_NONE, NULL, 0,
2225 "dop.ConsumerInformation", HFILL }},
2226 { &hf_dop_SupplierAndConsumers_PDU,
2227 { "SupplierAndConsumers", "dop.SupplierAndConsumers",
2228 FT_NONE, BASE_NONE, NULL, 0,
2229 "dop.SupplierAndConsumers", HFILL }},
2230 { &hf_dop_HierarchicalAgreement_PDU,
2231 { "HierarchicalAgreement", "dop.HierarchicalAgreement",
2232 FT_NONE, BASE_NONE, NULL, 0,
2233 "dop.HierarchicalAgreement", HFILL }},
2234 { &hf_dop_SuperiorToSubordinate_PDU,
2235 { "SuperiorToSubordinate", "dop.SuperiorToSubordinate",
2236 FT_NONE, BASE_NONE, NULL, 0,
2237 "dop.SuperiorToSubordinate", HFILL }},
2238 { &hf_dop_SubordinateToSuperior_PDU,
2239 { "SubordinateToSuperior", "dop.SubordinateToSuperior",
2240 FT_NONE, BASE_NONE, NULL, 0,
2241 "dop.SubordinateToSuperior", HFILL }},
2242 { &hf_dop_SuperiorToSubordinateModification_PDU,
2243 { "SuperiorToSubordinateModification", "dop.SuperiorToSubordinateModification",
2244 FT_NONE, BASE_NONE, NULL, 0,
2245 "dop.SuperiorToSubordinateModification", HFILL }},
2246 { &hf_dop_NonSpecificHierarchicalAgreement_PDU,
2247 { "NonSpecificHierarchicalAgreement", "dop.NonSpecificHierarchicalAgreement",
2248 FT_NONE, BASE_NONE, NULL, 0,
2249 "dop.NonSpecificHierarchicalAgreement", HFILL }},
2250 { &hf_dop_NHOBSuperiorToSubordinate_PDU,
2251 { "NHOBSuperiorToSubordinate", "dop.NHOBSuperiorToSubordinate",
2252 FT_NONE, BASE_NONE, NULL, 0,
2253 "dop.NHOBSuperiorToSubordinate", HFILL }},
2254 { &hf_dop_NHOBSubordinateToSuperior_PDU,
2255 { "NHOBSubordinateToSuperior", "dop.NHOBSubordinateToSuperior",
2256 FT_NONE, BASE_NONE, NULL, 0,
2257 "dop.NHOBSubordinateToSuperior", HFILL }},
2258 { &hf_dop_ACIItem_PDU,
2259 { "ACIItem", "dop.ACIItem",
2260 FT_NONE, BASE_NONE, NULL, 0,
2261 "dop.ACIItem", HFILL }},
2263 { "ae-title", "dop.ae_title",
2264 FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0,
2265 "x509if.Name", HFILL }},
2267 { "address", "dop.address",
2268 FT_NONE, BASE_NONE, NULL, 0,
2269 "x509sat.PresentationAddress", HFILL }},
2270 { &hf_dop_protocolInformation,
2271 { "protocolInformation", "dop.protocolInformation",
2272 FT_UINT32, BASE_DEC, NULL, 0,
2273 "dop.SET_OF_ProtocolInformation", HFILL }},
2274 { &hf_dop_protocolInformation_item,
2275 { "ProtocolInformation", "dop.ProtocolInformation",
2276 FT_NONE, BASE_NONE, NULL, 0,
2277 "x509sat.ProtocolInformation", HFILL }},
2278 { &hf_dop_agreementID,
2279 { "agreementID", "dop.agreementID",
2280 FT_NONE, BASE_NONE, NULL, 0,
2281 "dop.OperationalBindingID", HFILL }},
2282 { &hf_dop_supplier_is_master,
2283 { "supplier-is-master", "dop.supplier_is_master",
2284 FT_BOOLEAN, BASE_NONE, NULL, 0,
2285 "dop.BOOLEAN", HFILL }},
2286 { &hf_dop_non_supplying_master,
2287 { "non-supplying-master", "dop.non_supplying_master",
2288 FT_NONE, BASE_NONE, NULL, 0,
2289 "dsp.AccessPoint", HFILL }},
2290 { &hf_dop_consumers,
2291 { "consumers", "dop.consumers",
2292 FT_UINT32, BASE_DEC, NULL, 0,
2293 "dop.SET_OF_AccessPoint", HFILL }},
2294 { &hf_dop_consumers_item,
2295 { "AccessPoint", "dop.AccessPoint",
2296 FT_NONE, BASE_NONE, NULL, 0,
2297 "dsp.AccessPoint", HFILL }},
2298 { &hf_dop_bindingType,
2299 { "bindingType", "dop.bindingType",
2300 FT_OID, BASE_NONE, NULL, 0,
2301 "dop.BindingType", HFILL }},
2302 { &hf_dop_bindingID,
2303 { "bindingID", "dop.bindingID",
2304 FT_NONE, BASE_NONE, NULL, 0,
2305 "dop.OperationalBindingID", HFILL }},
2306 { &hf_dop_accessPoint,
2307 { "accessPoint", "dop.accessPoint",
2308 FT_NONE, BASE_NONE, NULL, 0,
2309 "dsp.AccessPoint", HFILL }},
2310 { &hf_dop_establishInitiator,
2311 { "initiator", "dop.initiator",
2312 FT_UINT32, BASE_DEC, VALS(dop_EstablishArgumentInitiator_vals), 0,
2313 "dop.EstablishArgumentInitiator", HFILL }},
2314 { &hf_dop_establishSymmetric,
2315 { "symmetric", "dop.symmetric",
2316 FT_NONE, BASE_NONE, NULL, 0,
2317 "dop.EstablishSymmetric", HFILL }},
2318 { &hf_dop_establishRoleAInitiates,
2319 { "roleA-initiates", "dop.roleA_initiates",
2320 FT_NONE, BASE_NONE, NULL, 0,
2321 "dop.EstablishRoleAInitiates", HFILL }},
2322 { &hf_dop_establishRoleBInitiates,
2323 { "roleB-initiates", "dop.roleB_initiates",
2324 FT_NONE, BASE_NONE, NULL, 0,
2325 "dop.EstablishRoleBInitiates", HFILL }},
2326 { &hf_dop_agreement,
2327 { "agreement", "dop.agreement",
2328 FT_NONE, BASE_NONE, NULL, 0,
2329 "dop.T_agreement", HFILL }},
2331 { "valid", "dop.valid",
2332 FT_NONE, BASE_NONE, NULL, 0,
2333 "dop.Validity", HFILL }},
2334 { &hf_dop_securityParameters,
2335 { "securityParameters", "dop.securityParameters",
2336 FT_NONE, BASE_NONE, NULL, 0,
2337 "dap.SecurityParameters", HFILL }},
2338 { &hf_dop_unsignedEstablishOperationalBindingArgument,
2339 { "unsignedEstablishOperationalBindingArgument", "dop.unsignedEstablishOperationalBindingArgument",
2340 FT_NONE, BASE_NONE, NULL, 0,
2341 "dop.EstablishOperationalBindingArgumentData", HFILL }},
2342 { &hf_dop_signedEstablishOperationalBindingArgument,
2343 { "signedEstablishOperationalBindingArgument", "dop.signedEstablishOperationalBindingArgument",
2344 FT_NONE, BASE_NONE, NULL, 0,
2345 "dop.T_signedEstablishOperationalBindingArgument", HFILL }},
2346 { &hf_dop_establishOperationalBindingArgument,
2347 { "establishOperationalBindingArgument", "dop.establishOperationalBindingArgument",
2348 FT_NONE, BASE_NONE, NULL, 0,
2349 "dop.EstablishOperationalBindingArgumentData", HFILL }},
2350 { &hf_dop_algorithmIdentifier,
2351 { "algorithmIdentifier", "dop.algorithmIdentifier",
2352 FT_NONE, BASE_NONE, NULL, 0,
2353 "x509af.AlgorithmIdentifier", HFILL }},
2354 { &hf_dop_encrypted,
2355 { "encrypted", "dop.encrypted",
2356 FT_BYTES, BASE_NONE, NULL, 0,
2357 "dop.BIT_STRING", HFILL }},
2358 { &hf_dop_identifier,
2359 { "identifier", "dop.identifier",
2360 FT_INT32, BASE_DEC, NULL, 0,
2361 "dop.T_identifier", HFILL }},
2363 { "version", "dop.version",
2364 FT_INT32, BASE_DEC, NULL, 0,
2365 "dop.T_version", HFILL }},
2366 { &hf_dop_validFrom,
2367 { "validFrom", "dop.validFrom",
2368 FT_UINT32, BASE_DEC, VALS(dop_T_validFrom_vals), 0,
2369 "dop.T_validFrom", HFILL }},
2372 FT_NONE, BASE_NONE, NULL, 0,
2373 "dop.NULL", HFILL }},
2375 { "time", "dop.time",
2376 FT_UINT32, BASE_DEC, VALS(dop_Time_vals), 0,
2377 "dop.Time", HFILL }},
2378 { &hf_dop_validUntil,
2379 { "validUntil", "dop.validUntil",
2380 FT_UINT32, BASE_DEC, VALS(dop_T_validUntil_vals), 0,
2381 "dop.T_validUntil", HFILL }},
2382 { &hf_dop_explicitTermination,
2383 { "explicitTermination", "dop.explicitTermination",
2384 FT_NONE, BASE_NONE, NULL, 0,
2385 "dop.NULL", HFILL }},
2387 { "utcTime", "dop.utcTime",
2388 FT_STRING, BASE_NONE, NULL, 0,
2389 "dop.UTCTime", HFILL }},
2390 { &hf_dop_generalizedTime,
2391 { "generalizedTime", "dop.generalizedTime",
2392 FT_STRING, BASE_NONE, NULL, 0,
2393 "dop.GeneralizedTime", HFILL }},
2394 { &hf_dop_initiator,
2395 { "initiator", "dop.initiator",
2396 FT_UINT32, BASE_DEC, VALS(dop_T_initiator_vals), 0,
2397 "dop.T_initiator", HFILL }},
2398 { &hf_dop_symmetric,
2399 { "symmetric", "dop.symmetric",
2400 FT_NONE, BASE_NONE, NULL, 0,
2401 "dop.T_symmetric", HFILL }},
2402 { &hf_dop_roleA_replies,
2403 { "roleA-replies", "dop.roleA_replies",
2404 FT_NONE, BASE_NONE, NULL, 0,
2405 "dop.T_roleA_replies", HFILL }},
2406 { &hf_dop_roleB_replies,
2407 { "roleB-replies", "dop.roleB_replies",
2408 FT_NONE, BASE_NONE, NULL, 0,
2409 "dop.T_roleB_replies", HFILL }},
2410 { &hf_dop_performer,
2411 { "performer", "dop.performer",
2412 FT_UINT32, BASE_DEC, NULL, 0,
2413 "x509if.DistinguishedName", HFILL }},
2414 { &hf_dop_aliasDereferenced,
2415 { "aliasDereferenced", "dop.aliasDereferenced",
2416 FT_BOOLEAN, BASE_NONE, NULL, 0,
2417 "dop.BOOLEAN", HFILL }},
2418 { &hf_dop_notification,
2419 { "notification", "dop.notification",
2420 FT_UINT32, BASE_DEC, NULL, 0,
2421 "dop.SEQUENCE_SIZE_1_MAX_OF_Attribute", HFILL }},
2422 { &hf_dop_notification_item,
2423 { "Attribute", "dop.Attribute",
2424 FT_NONE, BASE_NONE, NULL, 0,
2425 "x509if.Attribute", HFILL }},
2426 { &hf_dop_modifyInitiator,
2427 { "initiator", "dop.initiator",
2428 FT_UINT32, BASE_DEC, VALS(dop_ModifyArgumentInitiator_vals), 0,
2429 "dop.ModifyArgumentInitiator", HFILL }},
2430 { &hf_dop_modifySymmetric,
2431 { "symmetric", "dop.symmetric",
2432 FT_NONE, BASE_NONE, NULL, 0,
2433 "dop.ModifySymmetric", HFILL }},
2434 { &hf_dop_modifyRoleAInitiates,
2435 { "roleA-initiates", "dop.roleA_initiates",
2436 FT_NONE, BASE_NONE, NULL, 0,
2437 "dop.ModifyRoleAInitiates", HFILL }},
2438 { &hf_dop_modifyRoleBInitiates,
2439 { "roleB-initiates", "dop.roleB_initiates",
2440 FT_NONE, BASE_NONE, NULL, 0,
2441 "dop.ModifyRoleBInitiates", HFILL }},
2442 { &hf_dop_newBindingID,
2443 { "newBindingID", "dop.newBindingID",
2444 FT_NONE, BASE_NONE, NULL, 0,
2445 "dop.OperationalBindingID", HFILL }},
2446 { &hf_dop_argumentNewAgreement,
2447 { "newAgreement", "dop.newAgreement",
2448 FT_NONE, BASE_NONE, NULL, 0,
2449 "dop.ArgumentNewAgreement", HFILL }},
2450 { &hf_dop_unsignedModifyOperationalBindingArgument,
2451 { "unsignedModifyOperationalBindingArgument", "dop.unsignedModifyOperationalBindingArgument",
2452 FT_NONE, BASE_NONE, NULL, 0,
2453 "dop.ModifyOperationalBindingArgumentData", HFILL }},
2454 { &hf_dop_signedModifyOperationalBindingArgument,
2455 { "signedModifyOperationalBindingArgument", "dop.signedModifyOperationalBindingArgument",
2456 FT_NONE, BASE_NONE, NULL, 0,
2457 "dop.T_signedModifyOperationalBindingArgument", HFILL }},
2458 { &hf_dop_modifyOperationalBindingArgument,
2459 { "modifyOperationalBindingArgument", "dop.modifyOperationalBindingArgument",
2460 FT_NONE, BASE_NONE, NULL, 0,
2461 "dop.ModifyOperationalBindingArgumentData", HFILL }},
2463 { "null", "dop.null",
2464 FT_NONE, BASE_NONE, NULL, 0,
2465 "dop.NULL", HFILL }},
2466 { &hf_dop_protectedModifyResult,
2467 { "protected", "dop.protected",
2468 FT_NONE, BASE_NONE, NULL, 0,
2469 "dop.ProtectedModifyResult", HFILL }},
2470 { &hf_dop_modifyOperationalBindingResultData,
2471 { "modifyOperationalBindingResultData", "dop.modifyOperationalBindingResultData",
2472 FT_NONE, BASE_NONE, NULL, 0,
2473 "dop.ModifyOperationalBindingResultData", HFILL }},
2474 { &hf_dop_resultNewAgreement,
2475 { "newAgreement", "dop.newAgreement",
2476 FT_NONE, BASE_NONE, NULL, 0,
2477 "dop.ResultNewAgreement", HFILL }},
2478 { &hf_dop_terminateInitiator,
2479 { "initiator", "dop.initiator",
2480 FT_UINT32, BASE_DEC, VALS(dop_TerminateArgumentInitiator_vals), 0,
2481 "dop.TerminateArgumentInitiator", HFILL }},
2482 { &hf_dop_terminateSymmetric,
2483 { "symmetric", "dop.symmetric",
2484 FT_NONE, BASE_NONE, NULL, 0,
2485 "dop.TerminateSymmetric", HFILL }},
2486 { &hf_dop_terminateRoleAInitiates,
2487 { "roleA-initiates", "dop.roleA_initiates",
2488 FT_NONE, BASE_NONE, NULL, 0,
2489 "dop.TerminateRoleAInitiates", HFILL }},
2490 { &hf_dop_terminateRoleBInitiates,
2491 { "roleB-initiates", "dop.roleB_initiates",
2492 FT_NONE, BASE_NONE, NULL, 0,
2493 "dop.TerminateRoleBInitiates", HFILL }},
2494 { &hf_dop_terminateAtTime,
2495 { "terminateAt", "dop.terminateAt",
2496 FT_UINT32, BASE_DEC, VALS(dop_Time_vals), 0,
2497 "dop.Time", HFILL }},
2498 { &hf_dop_unsignedTerminateOperationalBindingArgument,
2499 { "unsignedTerminateOperationalBindingArgument", "dop.unsignedTerminateOperationalBindingArgument",
2500 FT_NONE, BASE_NONE, NULL, 0,
2501 "dop.TerminateOperationalBindingArgumentData", HFILL }},
2502 { &hf_dop_signedTerminateOperationalBindingArgument,
2503 { "signedTerminateOperationalBindingArgument", "dop.signedTerminateOperationalBindingArgument",
2504 FT_NONE, BASE_NONE, NULL, 0,
2505 "dop.T_signedTerminateOperationalBindingArgument", HFILL }},
2506 { &hf_dop_terminateOperationalBindingArgument,
2507 { "terminateOperationalBindingArgument", "dop.terminateOperationalBindingArgument",
2508 FT_NONE, BASE_NONE, NULL, 0,
2509 "dop.TerminateOperationalBindingArgumentData", HFILL }},
2510 { &hf_dop_protectedTerminateResult,
2511 { "protected", "dop.protected",
2512 FT_NONE, BASE_NONE, NULL, 0,
2513 "dop.ProtectedTerminateResult", HFILL }},
2514 { &hf_dop_terminateOperationalBindingResultData,
2515 { "terminateOperationalBindingResultData", "dop.terminateOperationalBindingResultData",
2516 FT_NONE, BASE_NONE, NULL, 0,
2517 "dop.TerminateOperationalBindingResultData", HFILL }},
2518 { &hf_dop_terminateAtGeneralizedTime,
2519 { "terminateAt", "dop.terminateAt",
2520 FT_STRING, BASE_NONE, NULL, 0,
2521 "dop.GeneralizedTime", HFILL }},
2523 { "problem", "dop.problem",
2524 FT_UINT32, BASE_DEC, VALS(dop_T_problem_vals), 0,
2525 "dop.T_problem", HFILL }},
2526 { &hf_dop_agreementProposal,
2527 { "agreementProposal", "dop.agreementProposal",
2528 FT_NONE, BASE_NONE, NULL, 0,
2529 "dop.T_agreementProposal", HFILL }},
2531 { "retryAt", "dop.retryAt",
2532 FT_UINT32, BASE_DEC, VALS(dop_Time_vals), 0,
2533 "dop.Time", HFILL }},
2536 FT_UINT32, BASE_DEC, NULL, 0,
2537 "x509if.RelativeDistinguishedName", HFILL }},
2538 { &hf_dop_immediateSuperior,
2539 { "immediateSuperior", "dop.immediateSuperior",
2540 FT_UINT32, BASE_DEC, NULL, 0,
2541 "x509if.DistinguishedName", HFILL }},
2542 { &hf_dop_contextPrefixInfo,
2543 { "contextPrefixInfo", "dop.contextPrefixInfo",
2544 FT_UINT32, BASE_DEC, NULL, 0,
2545 "dop.DITcontext", HFILL }},
2546 { &hf_dop_entryInfo,
2547 { "entryInfo", "dop.entryInfo",
2548 FT_UINT32, BASE_DEC, NULL, 0,
2549 "dop.SET_OF_Attribute", HFILL }},
2550 { &hf_dop_entryInfo_item,
2551 { "Attribute", "dop.Attribute",
2552 FT_NONE, BASE_NONE, NULL, 0,
2553 "x509if.Attribute", HFILL }},
2554 { &hf_dop_immediateSuperiorInfo,
2555 { "immediateSuperiorInfo", "dop.immediateSuperiorInfo",
2556 FT_UINT32, BASE_DEC, NULL, 0,
2557 "dop.SET_OF_Attribute", HFILL }},
2558 { &hf_dop_immediateSuperiorInfo_item,
2559 { "Attribute", "dop.Attribute",
2560 FT_NONE, BASE_NONE, NULL, 0,
2561 "x509if.Attribute", HFILL }},
2562 { &hf_dop_DITcontext_item,
2563 { "Vertex", "dop.Vertex",
2564 FT_NONE, BASE_NONE, NULL, 0,
2565 "dop.Vertex", HFILL }},
2566 { &hf_dop_admPointInfo,
2567 { "admPointInfo", "dop.admPointInfo",
2568 FT_UINT32, BASE_DEC, NULL, 0,
2569 "dop.SET_OF_Attribute", HFILL }},
2570 { &hf_dop_admPointInfo_item,
2571 { "Attribute", "dop.Attribute",
2572 FT_NONE, BASE_NONE, NULL, 0,
2573 "x509if.Attribute", HFILL }},
2574 { &hf_dop_subentries,
2575 { "subentries", "dop.subentries",
2576 FT_UINT32, BASE_DEC, NULL, 0,
2577 "dop.SET_OF_SubentryInfo", HFILL }},
2578 { &hf_dop_subentries_item,
2579 { "SubentryInfo", "dop.SubentryInfo",
2580 FT_NONE, BASE_NONE, NULL, 0,
2581 "dop.SubentryInfo", HFILL }},
2582 { &hf_dop_accessPoints,
2583 { "accessPoints", "dop.accessPoints",
2584 FT_UINT32, BASE_DEC, NULL, 0,
2585 "dsp.MasterAndShadowAccessPoints", HFILL }},
2587 { "info", "dop.info",
2588 FT_UINT32, BASE_DEC, NULL, 0,
2589 "dop.SET_OF_Attribute", HFILL }},
2590 { &hf_dop_info_item,
2591 { "Attribute", "dop.Attribute",
2592 FT_NONE, BASE_NONE, NULL, 0,
2593 "x509if.Attribute", HFILL }},
2595 { "alias", "dop.alias",
2596 FT_BOOLEAN, BASE_NONE, NULL, 0,
2597 "dop.BOOLEAN", HFILL }},
2598 { &hf_dop_identificationTag,
2599 { "identificationTag", "dop.identificationTag",
2600 FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0,
2601 "x509sat.DirectoryString", HFILL }},
2602 { &hf_dop_precedence,
2603 { "precedence", "dop.precedence",
2604 FT_INT32, BASE_DEC, NULL, 0,
2605 "dop.Precedence", HFILL }},
2606 { &hf_dop_authenticationLevel,
2607 { "authenticationLevel", "dop.authenticationLevel",
2608 FT_UINT32, BASE_DEC, VALS(dop_AuthenticationLevel_vals), 0,
2609 "dop.AuthenticationLevel", HFILL }},
2610 { &hf_dop_itemOrUserFirst,
2611 { "itemOrUserFirst", "dop.itemOrUserFirst",
2612 FT_UINT32, BASE_DEC, VALS(dop_T_itemOrUserFirst_vals), 0,
2613 "dop.T_itemOrUserFirst", HFILL }},
2614 { &hf_dop_itemFirst,
2615 { "itemFirst", "dop.itemFirst",
2616 FT_NONE, BASE_NONE, NULL, 0,
2617 "dop.T_itemFirst", HFILL }},
2618 { &hf_dop_protectedItems,
2619 { "protectedItems", "dop.protectedItems",
2620 FT_NONE, BASE_NONE, NULL, 0,
2621 "dop.ProtectedItems", HFILL }},
2622 { &hf_dop_itemPermissions,
2623 { "itemPermissions", "dop.itemPermissions",
2624 FT_UINT32, BASE_DEC, NULL, 0,
2625 "dop.SET_OF_ItemPermission", HFILL }},
2626 { &hf_dop_itemPermissions_item,
2627 { "ItemPermission", "dop.ItemPermission",
2628 FT_NONE, BASE_NONE, NULL, 0,
2629 "dop.ItemPermission", HFILL }},
2630 { &hf_dop_userFirst,
2631 { "userFirst", "dop.userFirst",
2632 FT_NONE, BASE_NONE, NULL, 0,
2633 "dop.T_userFirst", HFILL }},
2634 { &hf_dop_userClasses,
2635 { "userClasses", "dop.userClasses",
2636 FT_NONE, BASE_NONE, NULL, 0,
2637 "dop.UserClasses", HFILL }},
2638 { &hf_dop_userPermissions,
2639 { "userPermissions", "dop.userPermissions",
2640 FT_UINT32, BASE_DEC, NULL, 0,
2641 "dop.SET_OF_UserPermission", HFILL }},
2642 { &hf_dop_userPermissions_item,
2643 { "UserPermission", "dop.UserPermission",
2644 FT_NONE, BASE_NONE, NULL, 0,
2645 "dop.UserPermission", HFILL }},
2647 { "entry", "dop.entry",
2648 FT_NONE, BASE_NONE, NULL, 0,
2649 "dop.NULL", HFILL }},
2650 { &hf_dop_allUserAttributeTypes,
2651 { "allUserAttributeTypes", "dop.allUserAttributeTypes",
2652 FT_NONE, BASE_NONE, NULL, 0,
2653 "dop.NULL", HFILL }},
2654 { &hf_dop_attributeType,
2655 { "attributeType", "dop.attributeType",
2656 FT_UINT32, BASE_DEC, NULL, 0,
2657 "dop.SET_OF_AttributeType", HFILL }},
2658 { &hf_dop_attributeType_item,
2659 { "AttributeType", "dop.AttributeType",
2660 FT_OID, BASE_NONE, NULL, 0,
2661 "x509if.AttributeType", HFILL }},
2662 { &hf_dop_allAttributeValues,
2663 { "allAttributeValues", "dop.allAttributeValues",
2664 FT_UINT32, BASE_DEC, NULL, 0,
2665 "dop.SET_OF_AttributeType", HFILL }},
2666 { &hf_dop_allAttributeValues_item,
2667 { "AttributeType", "dop.AttributeType",
2668 FT_OID, BASE_NONE, NULL, 0,
2669 "x509if.AttributeType", HFILL }},
2670 { &hf_dop_allUserAttributeTypesAndValues,
2671 { "allUserAttributeTypesAndValues", "dop.allUserAttributeTypesAndValues",
2672 FT_NONE, BASE_NONE, NULL, 0,
2673 "dop.NULL", HFILL }},
2674 { &hf_dop_attributeValue,
2675 { "attributeValue", "dop.attributeValue",
2676 FT_UINT32, BASE_DEC, NULL, 0,
2677 "dop.SET_OF_AttributeTypeAndValue", HFILL }},
2678 { &hf_dop_attributeValue_item,
2679 { "AttributeTypeAndValue", "dop.AttributeTypeAndValue",
2680 FT_NONE, BASE_NONE, NULL, 0,
2681 "crmf.AttributeTypeAndValue", HFILL }},
2682 { &hf_dop_selfValue,
2683 { "selfValue", "dop.selfValue",
2684 FT_UINT32, BASE_DEC, NULL, 0,
2685 "dop.SET_OF_AttributeType", HFILL }},
2686 { &hf_dop_selfValue_item,
2687 { "AttributeType", "dop.AttributeType",
2688 FT_OID, BASE_NONE, NULL, 0,
2689 "x509if.AttributeType", HFILL }},
2690 { &hf_dop_rangeOfValues,
2691 { "rangeOfValues", "dop.rangeOfValues",
2692 FT_UINT32, BASE_DEC, VALS(dap_Filter_vals), 0,
2693 "dap.Filter", HFILL }},
2694 { &hf_dop_maxValueCount,
2695 { "maxValueCount", "dop.maxValueCount",
2696 FT_UINT32, BASE_DEC, NULL, 0,
2697 "dop.SET_OF_MaxValueCount", HFILL }},
2698 { &hf_dop_maxValueCount_item,
2699 { "MaxValueCount", "dop.MaxValueCount",
2700 FT_NONE, BASE_NONE, NULL, 0,
2701 "dop.MaxValueCount", HFILL }},
2702 { &hf_dop_maxImmSub,
2703 { "maxImmSub", "dop.maxImmSub",
2704 FT_INT32, BASE_DEC, NULL, 0,
2705 "dop.INTEGER", HFILL }},
2706 { &hf_dop_restrictedBy,
2707 { "restrictedBy", "dop.restrictedBy",
2708 FT_UINT32, BASE_DEC, NULL, 0,
2709 "dop.SET_OF_RestrictedValue", HFILL }},
2710 { &hf_dop_restrictedBy_item,
2711 { "RestrictedValue", "dop.RestrictedValue",
2712 FT_NONE, BASE_NONE, NULL, 0,
2713 "dop.RestrictedValue", HFILL }},
2715 { "contexts", "dop.contexts",
2716 FT_UINT32, BASE_DEC, NULL, 0,
2717 "dop.SET_OF_ContextAssertion", HFILL }},
2718 { &hf_dop_contexts_item,
2719 { "ContextAssertion", "dop.ContextAssertion",
2720 FT_NONE, BASE_NONE, NULL, 0,
2721 "x509if.ContextAssertion", HFILL }},
2723 { "classes", "dop.classes",
2724 FT_UINT32, BASE_DEC, VALS(x509if_Refinement_vals), 0,
2725 "x509if.Refinement", HFILL }},
2727 { "type", "dop.type",
2728 FT_OID, BASE_NONE, NULL, 0,
2729 "x509if.AttributeType", HFILL }},
2731 { "maxCount", "dop.maxCount",
2732 FT_INT32, BASE_DEC, NULL, 0,
2733 "dop.INTEGER", HFILL }},
2735 { "valuesIn", "dop.valuesIn",
2736 FT_OID, BASE_NONE, NULL, 0,
2737 "x509if.AttributeType", HFILL }},
2739 { "allUsers", "dop.allUsers",
2740 FT_NONE, BASE_NONE, NULL, 0,
2741 "dop.NULL", HFILL }},
2742 { &hf_dop_thisEntry,
2743 { "thisEntry", "dop.thisEntry",
2744 FT_NONE, BASE_NONE, NULL, 0,
2745 "dop.NULL", HFILL }},
2747 { "name", "dop.name",
2748 FT_UINT32, BASE_DEC, NULL, 0,
2749 "dop.SET_OF_NameAndOptionalUID", HFILL }},
2750 { &hf_dop_name_item,
2751 { "NameAndOptionalUID", "dop.NameAndOptionalUID",
2752 FT_NONE, BASE_NONE, NULL, 0,
2753 "x509sat.NameAndOptionalUID", HFILL }},
2754 { &hf_dop_userGroup,
2755 { "userGroup", "dop.userGroup",
2756 FT_UINT32, BASE_DEC, NULL, 0,
2757 "dop.SET_OF_NameAndOptionalUID", HFILL }},
2758 { &hf_dop_userGroup_item,
2759 { "NameAndOptionalUID", "dop.NameAndOptionalUID",
2760 FT_NONE, BASE_NONE, NULL, 0,
2761 "x509sat.NameAndOptionalUID", HFILL }},
2763 { "subtree", "dop.subtree",
2764 FT_UINT32, BASE_DEC, NULL, 0,
2765 "dop.SET_OF_SubtreeSpecification", HFILL }},
2766 { &hf_dop_subtree_item,
2767 { "SubtreeSpecification", "dop.SubtreeSpecification",
2768 FT_NONE, BASE_NONE, NULL, 0,
2769 "x509if.SubtreeSpecification", HFILL }},
2770 { &hf_dop_grantsAndDenials,
2771 { "grantsAndDenials", "dop.grantsAndDenials",
2772 FT_BYTES, BASE_NONE, NULL, 0,
2773 "dop.GrantsAndDenials", HFILL }},
2774 { &hf_dop_basicLevels,
2775 { "basicLevels", "dop.basicLevels",
2776 FT_NONE, BASE_NONE, NULL, 0,
2777 "dop.T_basicLevels", HFILL }},
2779 { "level", "dop.level",
2780 FT_UINT32, BASE_DEC, VALS(dop_T_level_vals), 0,
2781 "dop.T_level", HFILL }},
2782 { &hf_dop_localQualifier,
2783 { "localQualifier", "dop.localQualifier",
2784 FT_INT32, BASE_DEC, NULL, 0,
2785 "dop.INTEGER", HFILL }},
2787 { "signed", "dop.signed",
2788 FT_BOOLEAN, BASE_NONE, NULL, 0,
2789 "dop.BOOLEAN", HFILL }},
2791 { "other", "dop.other",
2792 FT_NONE, BASE_NONE, NULL, 0,
2793 "dop.EXTERNAL", HFILL }},
2794 { &hf_dop_DSEType_root,
2795 { "root", "dop.root",
2796 FT_BOOLEAN, 8, NULL, 0x80,
2798 { &hf_dop_DSEType_glue,
2799 { "glue", "dop.glue",
2800 FT_BOOLEAN, 8, NULL, 0x40,
2802 { &hf_dop_DSEType_cp,
2804 FT_BOOLEAN, 8, NULL, 0x20,
2806 { &hf_dop_DSEType_entry,
2807 { "entry", "dop.entry",
2808 FT_BOOLEAN, 8, NULL, 0x10,
2810 { &hf_dop_DSEType_alias,
2811 { "alias", "dop.alias",
2812 FT_BOOLEAN, 8, NULL, 0x08,
2814 { &hf_dop_DSEType_subr,
2815 { "subr", "dop.subr",
2816 FT_BOOLEAN, 8, NULL, 0x04,
2818 { &hf_dop_DSEType_nssr,
2819 { "nssr", "dop.nssr",
2820 FT_BOOLEAN, 8, NULL, 0x02,
2822 { &hf_dop_DSEType_supr,
2823 { "supr", "dop.supr",
2824 FT_BOOLEAN, 8, NULL, 0x01,
2826 { &hf_dop_DSEType_xr,
2828 FT_BOOLEAN, 8, NULL, 0x80,
2830 { &hf_dop_DSEType_admPoint,
2831 { "admPoint", "dop.admPoint",
2832 FT_BOOLEAN, 8, NULL, 0x40,
2834 { &hf_dop_DSEType_subentry,
2835 { "subentry", "dop.subentry",
2836 FT_BOOLEAN, 8, NULL, 0x20,
2838 { &hf_dop_DSEType_shadow,
2839 { "shadow", "dop.shadow",
2840 FT_BOOLEAN, 8, NULL, 0x10,
2842 { &hf_dop_DSEType_immSupr,
2843 { "immSupr", "dop.immSupr",
2844 FT_BOOLEAN, 8, NULL, 0x04,
2846 { &hf_dop_DSEType_rhob,
2847 { "rhob", "dop.rhob",
2848 FT_BOOLEAN, 8, NULL, 0x02,
2850 { &hf_dop_DSEType_sa,
2852 FT_BOOLEAN, 8, NULL, 0x01,
2854 { &hf_dop_DSEType_dsSubentry,
2855 { "dsSubentry", "dop.dsSubentry",
2856 FT_BOOLEAN, 8, NULL, 0x80,
2858 { &hf_dop_DSEType_familyMember,
2859 { "familyMember", "dop.familyMember",
2860 FT_BOOLEAN, 8, NULL, 0x40,
2862 { &hf_dop_GrantsAndDenials_grantAdd,
2863 { "grantAdd", "dop.grantAdd",
2864 FT_BOOLEAN, 8, NULL, 0x80,
2866 { &hf_dop_GrantsAndDenials_denyAdd,
2867 { "denyAdd", "dop.denyAdd",
2868 FT_BOOLEAN, 8, NULL, 0x40,
2870 { &hf_dop_GrantsAndDenials_grantDiscloseOnError,
2871 { "grantDiscloseOnError", "dop.grantDiscloseOnError",
2872 FT_BOOLEAN, 8, NULL, 0x20,
2874 { &hf_dop_GrantsAndDenials_denyDiscloseOnError,
2875 { "denyDiscloseOnError", "dop.denyDiscloseOnError",
2876 FT_BOOLEAN, 8, NULL, 0x10,
2878 { &hf_dop_GrantsAndDenials_grantRead,
2879 { "grantRead", "dop.grantRead",
2880 FT_BOOLEAN, 8, NULL, 0x08,
2882 { &hf_dop_GrantsAndDenials_denyRead,
2883 { "denyRead", "dop.denyRead",
2884 FT_BOOLEAN, 8, NULL, 0x04,
2886 { &hf_dop_GrantsAndDenials_grantRemove,
2887 { "grantRemove", "dop.grantRemove",
2888 FT_BOOLEAN, 8, NULL, 0x02,
2890 { &hf_dop_GrantsAndDenials_denyRemove,
2891 { "denyRemove", "dop.denyRemove",
2892 FT_BOOLEAN, 8, NULL, 0x01,
2894 { &hf_dop_GrantsAndDenials_grantBrowse,
2895 { "grantBrowse", "dop.grantBrowse",
2896 FT_BOOLEAN, 8, NULL, 0x80,
2898 { &hf_dop_GrantsAndDenials_denyBrowse,
2899 { "denyBrowse", "dop.denyBrowse",
2900 FT_BOOLEAN, 8, NULL, 0x40,
2902 { &hf_dop_GrantsAndDenials_grantExport,
2903 { "grantExport", "dop.grantExport",
2904 FT_BOOLEAN, 8, NULL, 0x20,
2906 { &hf_dop_GrantsAndDenials_denyExport,
2907 { "denyExport", "dop.denyExport",
2908 FT_BOOLEAN, 8, NULL, 0x10,
2910 { &hf_dop_GrantsAndDenials_grantImport,
2911 { "grantImport", "dop.grantImport",
2912 FT_BOOLEAN, 8, NULL, 0x08,
2914 { &hf_dop_GrantsAndDenials_denyImport,
2915 { "denyImport", "dop.denyImport",
2916 FT_BOOLEAN, 8, NULL, 0x04,
2918 { &hf_dop_GrantsAndDenials_grantModify,
2919 { "grantModify", "dop.grantModify",
2920 FT_BOOLEAN, 8, NULL, 0x02,
2922 { &hf_dop_GrantsAndDenials_denyModify,
2923 { "denyModify", "dop.denyModify",
2924 FT_BOOLEAN, 8, NULL, 0x01,
2926 { &hf_dop_GrantsAndDenials_grantRename,
2927 { "grantRename", "dop.grantRename",
2928 FT_BOOLEAN, 8, NULL, 0x80,
2930 { &hf_dop_GrantsAndDenials_denyRename,
2931 { "denyRename", "dop.denyRename",
2932 FT_BOOLEAN, 8, NULL, 0x40,
2934 { &hf_dop_GrantsAndDenials_grantReturnDN,
2935 { "grantReturnDN", "dop.grantReturnDN",
2936 FT_BOOLEAN, 8, NULL, 0x20,
2938 { &hf_dop_GrantsAndDenials_denyReturnDN,
2939 { "denyReturnDN", "dop.denyReturnDN",
2940 FT_BOOLEAN, 8, NULL, 0x10,
2942 { &hf_dop_GrantsAndDenials_grantCompare,
2943 { "grantCompare", "dop.grantCompare",
2944 FT_BOOLEAN, 8, NULL, 0x08,
2946 { &hf_dop_GrantsAndDenials_denyCompare,
2947 { "denyCompare", "dop.denyCompare",
2948 FT_BOOLEAN, 8, NULL, 0x04,
2950 { &hf_dop_GrantsAndDenials_grantFilterMatch,
2951 { "grantFilterMatch", "dop.grantFilterMatch",
2952 FT_BOOLEAN, 8, NULL, 0x02,
2954 { &hf_dop_GrantsAndDenials_denyFilterMatch,
2955 { "denyFilterMatch", "dop.denyFilterMatch",
2956 FT_BOOLEAN, 8, NULL, 0x01,
2958 { &hf_dop_GrantsAndDenials_grantInvoke,
2959 { "grantInvoke", "dop.grantInvoke",
2960 FT_BOOLEAN, 8, NULL, 0x80,
2962 { &hf_dop_GrantsAndDenials_denyInvoke,
2963 { "denyInvoke", "dop.denyInvoke",
2964 FT_BOOLEAN, 8, NULL, 0x40,
2967 /*--- End of included file: packet-dop-hfarr.c ---*/
2968 #line 250 "packet-dop-template.c"
2971 /* List of subtrees */
2972 static gint *ett[] = {
2976 /*--- Included file: packet-dop-ettarr.c ---*/
2977 #line 1 "packet-dop-ettarr.c"
2979 &ett_dop_SupplierOrConsumer,
2980 &ett_dop_SET_OF_ProtocolInformation,
2981 &ett_dop_SupplierInformation,
2982 &ett_dop_SupplierAndConsumers,
2983 &ett_dop_SET_OF_AccessPoint,
2984 &ett_dop_EstablishOperationalBindingArgumentData,
2985 &ett_dop_EstablishArgumentInitiator,
2986 &ett_dop_EstablishOperationalBindingArgument,
2987 &ett_dop_T_signedEstablishOperationalBindingArgument,
2988 &ett_dop_OperationalBindingID,
2990 &ett_dop_T_validFrom,
2991 &ett_dop_T_validUntil,
2993 &ett_dop_EstablishOperationalBindingResult,
2994 &ett_dop_T_initiator,
2995 &ett_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute,
2996 &ett_dop_ModifyOperationalBindingArgumentData,
2997 &ett_dop_ModifyArgumentInitiator,
2998 &ett_dop_ModifyOperationalBindingArgument,
2999 &ett_dop_T_signedModifyOperationalBindingArgument,
3000 &ett_dop_ModifyOperationalBindingResult,
3001 &ett_dop_ProtectedModifyResult,
3002 &ett_dop_ModifyOperationalBindingResultData,
3003 &ett_dop_TerminateOperationalBindingArgumentData,
3004 &ett_dop_TerminateArgumentInitiator,
3005 &ett_dop_TerminateOperationalBindingArgument,
3006 &ett_dop_T_signedTerminateOperationalBindingArgument,
3007 &ett_dop_TerminateOperationalBindingResult,
3008 &ett_dop_ProtectedTerminateResult,
3009 &ett_dop_TerminateOperationalBindingResultData,
3010 &ett_dop_OpBindingErrorParam,
3011 &ett_dop_HierarchicalAgreement,
3012 &ett_dop_SuperiorToSubordinate,
3013 &ett_dop_SET_OF_Attribute,
3014 &ett_dop_DITcontext,
3016 &ett_dop_SET_OF_SubentryInfo,
3017 &ett_dop_SubentryInfo,
3018 &ett_dop_SubordinateToSuperior,
3019 &ett_dop_SuperiorToSubordinateModification,
3020 &ett_dop_NonSpecificHierarchicalAgreement,
3021 &ett_dop_NHOBSuperiorToSubordinate,
3022 &ett_dop_NHOBSubordinateToSuperior,
3024 &ett_dop_T_itemOrUserFirst,
3025 &ett_dop_T_itemFirst,
3026 &ett_dop_SET_OF_ItemPermission,
3027 &ett_dop_T_userFirst,
3028 &ett_dop_SET_OF_UserPermission,
3029 &ett_dop_ProtectedItems,
3030 &ett_dop_SET_OF_AttributeType,
3031 &ett_dop_SET_OF_AttributeTypeAndValue,
3032 &ett_dop_SET_OF_MaxValueCount,
3033 &ett_dop_SET_OF_RestrictedValue,
3034 &ett_dop_SET_OF_ContextAssertion,
3035 &ett_dop_MaxValueCount,
3036 &ett_dop_RestrictedValue,
3037 &ett_dop_UserClasses,
3038 &ett_dop_SET_OF_NameAndOptionalUID,
3039 &ett_dop_SET_OF_SubtreeSpecification,
3040 &ett_dop_ItemPermission,
3041 &ett_dop_UserPermission,
3042 &ett_dop_AuthenticationLevel,
3043 &ett_dop_T_basicLevels,
3044 &ett_dop_GrantsAndDenials,
3046 /*--- End of included file: packet-dop-ettarr.c ---*/
3047 #line 257 "packet-dop-template.c"
3050 module_t *dop_module;
3052 /* Register protocol */
3053 proto_dop = proto_register_protocol(PNAME, PSNAME, PFNAME);
3055 register_dissector("dop", dissect_dop, proto_dop);
3057 dop_dissector_table = register_dissector_table("dop.oid", "DOP OID Dissectors", FT_STRING, BASE_NONE);
3059 /* Register fields and subtrees */
3060 proto_register_field_array(proto_dop, hf, array_length(hf));
3061 proto_register_subtree_array(ett, array_length(ett));
3063 /* Register our configuration options for DOP, particularly our port */
3065 dop_module = prefs_register_protocol_subtree("OSI/X.500", proto_dop, prefs_register_dop);
3067 prefs_register_uint_preference(dop_module, "tcp.port", "DOP TCP Port",
3068 "Set the port for DOP operations (if other"
3069 " than the default of 102)",
3070 10, &global_dop_tcp_port);
3076 /*--- proto_reg_handoff_dop --- */
3077 void proto_reg_handoff_dop(void) {
3078 dissector_handle_t dop_handle;
3081 /*--- Included file: packet-dop-dis-tab.c ---*/
3082 #line 1 "packet-dop-dis-tab.c"
3083 register_ber_oid_dissector("2.5.12.0", dissect_DSEType_PDU, proto_dop, "id-doa-dseType");
3084 register_ber_oid_dissector("2.5.12.5", dissect_SupplierInformation_PDU, proto_dop, "id-doa-supplierKnowledge");
3085 register_ber_oid_dissector("2.5.12.6", dissect_ConsumerInformation_PDU, proto_dop, "id-doa-consumerKnowledge");
3086 register_ber_oid_dissector("2.5.12.7", dissect_SupplierAndConsumers_PDU, proto_dop, "id-doa-secondaryShadows");
3087 dissector_add_string("dop.oid", "agreement.2.5.19.2", create_dissector_handle(dissect_HierarchicalAgreement_PDU, proto_dop));
3088 dissector_add_string("dop.oid", "establish.rolea.2.5.19.2", create_dissector_handle(dissect_SuperiorToSubordinate_PDU, proto_dop));
3089 dissector_add_string("dop.oid", "modify.rolea.2.5.19.2", create_dissector_handle(dissect_SuperiorToSubordinateModification_PDU, proto_dop));
3090 dissector_add_string("dop.oid", "establish.roleb.2.5.19.2", create_dissector_handle(dissect_SubordinateToSuperior_PDU, proto_dop));
3091 dissector_add_string("dop.oid", "modify.roleb.2.5.19.2", create_dissector_handle(dissect_SubordinateToSuperior_PDU, proto_dop));
3092 dissector_add_string("dop.oid", "agreement.2.5.19.3", create_dissector_handle(dissect_NonSpecificHierarchicalAgreement_PDU, proto_dop));
3093 dissector_add_string("dop.oid", "establish.rolea.2.5.19.3", create_dissector_handle(dissect_NHOBSuperiorToSubordinate_PDU, proto_dop));
3094 dissector_add_string("dop.oid", "modify.rolea.2.5.19.3", create_dissector_handle(dissect_NHOBSuperiorToSubordinate_PDU, proto_dop));
3095 dissector_add_string("dop.oid", "establish.roleb.2.5.19.3", create_dissector_handle(dissect_NHOBSubordinateToSuperior_PDU, proto_dop));
3096 dissector_add_string("dop.oid", "modify.roleb.2.5.19.3", create_dissector_handle(dissect_NHOBSubordinateToSuperior_PDU, proto_dop));
3097 register_ber_oid_dissector("2.5.24.4", dissect_ACIItem_PDU, proto_dop, "id-aca-prescriptiveACI");
3098 register_ber_oid_dissector("2.5.24.5", dissect_ACIItem_PDU, proto_dop, "id-aca-entryACI");
3099 register_ber_oid_dissector("2.5.24.6", dissect_ACIItem_PDU, proto_dop, "id-aca-subentryACI");
3102 /*--- End of included file: packet-dop-dis-tab.c ---*/
3103 #line 290 "packet-dop-template.c"
3104 /* APPLICATION CONTEXT */
3106 oid_add_from_string("id-ac-directory-operational-binding-management","2.5.3.3");
3108 /* ABSTRACT SYNTAXES */
3110 /* Register DOP with ROS (with no use of RTSE) */
3111 dop_handle = find_dissector("dop");
3112 register_ros_oid_dissector_handle("2.5.9.4", dop_handle, 0, "id-as-directory-operational-binding-management", FALSE);
3116 oid_add_from_string("shadow-agreement","2.5.19.1");
3117 oid_add_from_string("hierarchical-agreement","2.5.19.2");
3118 oid_add_from_string("non-specific-hierarchical-agreement","2.5.19.3");
3120 /* ACCESS CONTROL SCHEMES */
3121 oid_add_from_string("basic-ACS","2.5.28.1");
3122 oid_add_from_string("simplified-ACS","2.5.28.2");
3123 oid_add_from_string("ruleBased-ACS","2.5.28.3");
3124 oid_add_from_string("ruleAndBasic-ACS","2.5.28.4");
3125 oid_add_from_string("ruleAndSimple-ACS","2.5.28.5");
3127 /* ADMINISTRATIVE ROLES */
3128 oid_add_from_string("id-ar-autonomousArea","2.5.23.1");
3129 oid_add_from_string("id-ar-accessControlSpecificArea","2.5.23.2");
3130 oid_add_from_string("id-ar-accessControlInnerArea","2.5.23.3");
3131 oid_add_from_string("id-ar-subschemaAdminSpecificArea","2.5.23.4");
3132 oid_add_from_string("id-ar-collectiveAttributeSpecificArea","2.5.23.5");
3133 oid_add_from_string("id-ar-collectiveAttributeInnerArea","2.5.23.6");
3134 oid_add_from_string("id-ar-contextDefaultSpecificArea","2.5.23.7");
3135 oid_add_from_string("id-ar-serviceSpecificArea","2.5.23.8");
3137 /* remember the tpkt handler for change in preferences */
3138 tpkt_handle = find_dissector("tpkt");
3142 void prefs_register_dop(void) {
3143 static guint tcp_port = 0;
3145 /* de-register the old port */
3146 /* port 102 is registered by TPKT - don't undo this! */
3147 if((tcp_port > 0) && (tcp_port != 102) && tpkt_handle)
3148 dissector_delete("tcp.port", tcp_port, tpkt_handle);
3150 /* Set our port number for future use */
3151 tcp_port = global_dop_tcp_port;
3153 if((tcp_port > 0) && (tcp_port != 102) && tpkt_handle)
3154 dissector_add("tcp.port", tcp_port, tpkt_handle);