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 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");
2197 offset = tvb_length(tvb);
2206 /*--- proto_register_dop -------------------------------------------*/
2207 void proto_register_dop(void) {
2209 /* List of fields */
2210 static hf_register_info hf[] =
2213 /*--- Included file: packet-dop-hfarr.c ---*/
2214 #line 1 "packet-dop-hfarr.c"
2215 { &hf_dop_DSEType_PDU,
2216 { "DSEType", "dop.DSEType",
2217 FT_BYTES, BASE_HEX, NULL, 0,
2218 "dop.DSEType", HFILL }},
2219 { &hf_dop_SupplierInformation_PDU,
2220 { "SupplierInformation", "dop.SupplierInformation",
2221 FT_NONE, BASE_NONE, NULL, 0,
2222 "dop.SupplierInformation", HFILL }},
2223 { &hf_dop_ConsumerInformation_PDU,
2224 { "ConsumerInformation", "dop.ConsumerInformation",
2225 FT_NONE, BASE_NONE, NULL, 0,
2226 "dop.ConsumerInformation", HFILL }},
2227 { &hf_dop_SupplierAndConsumers_PDU,
2228 { "SupplierAndConsumers", "dop.SupplierAndConsumers",
2229 FT_NONE, BASE_NONE, NULL, 0,
2230 "dop.SupplierAndConsumers", HFILL }},
2231 { &hf_dop_HierarchicalAgreement_PDU,
2232 { "HierarchicalAgreement", "dop.HierarchicalAgreement",
2233 FT_NONE, BASE_NONE, NULL, 0,
2234 "dop.HierarchicalAgreement", HFILL }},
2235 { &hf_dop_SuperiorToSubordinate_PDU,
2236 { "SuperiorToSubordinate", "dop.SuperiorToSubordinate",
2237 FT_NONE, BASE_NONE, NULL, 0,
2238 "dop.SuperiorToSubordinate", HFILL }},
2239 { &hf_dop_SubordinateToSuperior_PDU,
2240 { "SubordinateToSuperior", "dop.SubordinateToSuperior",
2241 FT_NONE, BASE_NONE, NULL, 0,
2242 "dop.SubordinateToSuperior", HFILL }},
2243 { &hf_dop_SuperiorToSubordinateModification_PDU,
2244 { "SuperiorToSubordinateModification", "dop.SuperiorToSubordinateModification",
2245 FT_NONE, BASE_NONE, NULL, 0,
2246 "dop.SuperiorToSubordinateModification", HFILL }},
2247 { &hf_dop_NonSpecificHierarchicalAgreement_PDU,
2248 { "NonSpecificHierarchicalAgreement", "dop.NonSpecificHierarchicalAgreement",
2249 FT_NONE, BASE_NONE, NULL, 0,
2250 "dop.NonSpecificHierarchicalAgreement", HFILL }},
2251 { &hf_dop_NHOBSuperiorToSubordinate_PDU,
2252 { "NHOBSuperiorToSubordinate", "dop.NHOBSuperiorToSubordinate",
2253 FT_NONE, BASE_NONE, NULL, 0,
2254 "dop.NHOBSuperiorToSubordinate", HFILL }},
2255 { &hf_dop_NHOBSubordinateToSuperior_PDU,
2256 { "NHOBSubordinateToSuperior", "dop.NHOBSubordinateToSuperior",
2257 FT_NONE, BASE_NONE, NULL, 0,
2258 "dop.NHOBSubordinateToSuperior", HFILL }},
2259 { &hf_dop_ACIItem_PDU,
2260 { "ACIItem", "dop.ACIItem",
2261 FT_NONE, BASE_NONE, NULL, 0,
2262 "dop.ACIItem", HFILL }},
2264 { "ae-title", "dop.ae_title",
2265 FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0,
2266 "x509if.Name", HFILL }},
2268 { "address", "dop.address",
2269 FT_NONE, BASE_NONE, NULL, 0,
2270 "x509sat.PresentationAddress", HFILL }},
2271 { &hf_dop_protocolInformation,
2272 { "protocolInformation", "dop.protocolInformation",
2273 FT_UINT32, BASE_DEC, NULL, 0,
2274 "dop.SET_OF_ProtocolInformation", HFILL }},
2275 { &hf_dop_protocolInformation_item,
2276 { "protocolInformation", "dop.protocolInformation_item",
2277 FT_NONE, BASE_NONE, NULL, 0,
2278 "x509sat.ProtocolInformation", HFILL }},
2279 { &hf_dop_agreementID,
2280 { "agreementID", "dop.agreementID",
2281 FT_NONE, BASE_NONE, NULL, 0,
2282 "dop.OperationalBindingID", HFILL }},
2283 { &hf_dop_supplier_is_master,
2284 { "supplier-is-master", "dop.supplier_is_master",
2285 FT_BOOLEAN, 8, NULL, 0,
2286 "dop.BOOLEAN", HFILL }},
2287 { &hf_dop_non_supplying_master,
2288 { "non-supplying-master", "dop.non_supplying_master",
2289 FT_NONE, BASE_NONE, NULL, 0,
2290 "dsp.AccessPoint", HFILL }},
2291 { &hf_dop_consumers,
2292 { "consumers", "dop.consumers",
2293 FT_UINT32, BASE_DEC, NULL, 0,
2294 "dop.SET_OF_AccessPoint", HFILL }},
2295 { &hf_dop_consumers_item,
2296 { "consumers", "dop.consumers_item",
2297 FT_NONE, BASE_NONE, NULL, 0,
2298 "dsp.AccessPoint", HFILL }},
2299 { &hf_dop_bindingType,
2300 { "bindingType", "dop.bindingType",
2301 FT_OID, BASE_NONE, NULL, 0,
2302 "dop.BindingType", HFILL }},
2303 { &hf_dop_bindingID,
2304 { "bindingID", "dop.bindingID",
2305 FT_NONE, BASE_NONE, NULL, 0,
2306 "dop.OperationalBindingID", HFILL }},
2307 { &hf_dop_accessPoint,
2308 { "accessPoint", "dop.accessPoint",
2309 FT_NONE, BASE_NONE, NULL, 0,
2310 "dsp.AccessPoint", HFILL }},
2311 { &hf_dop_establishInitiator,
2312 { "initiator", "dop.initiator",
2313 FT_UINT32, BASE_DEC, VALS(dop_EstablishArgumentInitiator_vals), 0,
2314 "dop.EstablishArgumentInitiator", HFILL }},
2315 { &hf_dop_establishSymmetric,
2316 { "symmetric", "dop.symmetric",
2317 FT_NONE, BASE_NONE, NULL, 0,
2318 "dop.EstablishSymmetric", HFILL }},
2319 { &hf_dop_establishRoleAInitiates,
2320 { "roleA-initiates", "dop.roleA_initiates",
2321 FT_NONE, BASE_NONE, NULL, 0,
2322 "dop.EstablishRoleAInitiates", HFILL }},
2323 { &hf_dop_establishRoleBInitiates,
2324 { "roleB-initiates", "dop.roleB_initiates",
2325 FT_NONE, BASE_NONE, NULL, 0,
2326 "dop.EstablishRoleBInitiates", HFILL }},
2327 { &hf_dop_agreement,
2328 { "agreement", "dop.agreement",
2329 FT_NONE, BASE_NONE, NULL, 0,
2330 "dop.T_agreement", HFILL }},
2332 { "valid", "dop.valid",
2333 FT_NONE, BASE_NONE, NULL, 0,
2334 "dop.Validity", HFILL }},
2335 { &hf_dop_securityParameters,
2336 { "securityParameters", "dop.securityParameters",
2337 FT_NONE, BASE_NONE, NULL, 0,
2338 "dap.SecurityParameters", HFILL }},
2339 { &hf_dop_unsignedEstablishOperationalBindingArgument,
2340 { "unsignedEstablishOperationalBindingArgument", "dop.unsignedEstablishOperationalBindingArgument",
2341 FT_NONE, BASE_NONE, NULL, 0,
2342 "dop.EstablishOperationalBindingArgumentData", HFILL }},
2343 { &hf_dop_signedEstablishOperationalBindingArgument,
2344 { "signedEstablishOperationalBindingArgument", "dop.signedEstablishOperationalBindingArgument",
2345 FT_NONE, BASE_NONE, NULL, 0,
2346 "dop.T_signedEstablishOperationalBindingArgument", HFILL }},
2347 { &hf_dop_establishOperationalBindingArgument,
2348 { "establishOperationalBindingArgument", "dop.establishOperationalBindingArgument",
2349 FT_NONE, BASE_NONE, NULL, 0,
2350 "dop.EstablishOperationalBindingArgumentData", HFILL }},
2351 { &hf_dop_algorithmIdentifier,
2352 { "algorithmIdentifier", "dop.algorithmIdentifier",
2353 FT_NONE, BASE_NONE, NULL, 0,
2354 "x509af.AlgorithmIdentifier", HFILL }},
2355 { &hf_dop_encrypted,
2356 { "encrypted", "dop.encrypted",
2357 FT_BYTES, BASE_HEX, NULL, 0,
2358 "dop.BIT_STRING", HFILL }},
2359 { &hf_dop_identifier,
2360 { "identifier", "dop.identifier",
2361 FT_INT32, BASE_DEC, NULL, 0,
2362 "dop.T_identifier", HFILL }},
2364 { "version", "dop.version",
2365 FT_INT32, BASE_DEC, NULL, 0,
2366 "dop.T_version", HFILL }},
2367 { &hf_dop_validFrom,
2368 { "validFrom", "dop.validFrom",
2369 FT_UINT32, BASE_DEC, VALS(dop_T_validFrom_vals), 0,
2370 "dop.T_validFrom", HFILL }},
2373 FT_NONE, BASE_NONE, NULL, 0,
2374 "dop.NULL", HFILL }},
2376 { "time", "dop.time",
2377 FT_UINT32, BASE_DEC, VALS(dop_Time_vals), 0,
2378 "dop.Time", HFILL }},
2379 { &hf_dop_validUntil,
2380 { "validUntil", "dop.validUntil",
2381 FT_UINT32, BASE_DEC, VALS(dop_T_validUntil_vals), 0,
2382 "dop.T_validUntil", HFILL }},
2383 { &hf_dop_explicitTermination,
2384 { "explicitTermination", "dop.explicitTermination",
2385 FT_NONE, BASE_NONE, NULL, 0,
2386 "dop.NULL", HFILL }},
2388 { "utcTime", "dop.utcTime",
2389 FT_STRING, BASE_NONE, NULL, 0,
2390 "dop.UTCTime", HFILL }},
2391 { &hf_dop_generalizedTime,
2392 { "generalizedTime", "dop.generalizedTime",
2393 FT_STRING, BASE_NONE, NULL, 0,
2394 "dop.GeneralizedTime", HFILL }},
2395 { &hf_dop_initiator,
2396 { "initiator", "dop.initiator",
2397 FT_UINT32, BASE_DEC, VALS(dop_T_initiator_vals), 0,
2398 "dop.T_initiator", HFILL }},
2399 { &hf_dop_symmetric,
2400 { "symmetric", "dop.symmetric",
2401 FT_NONE, BASE_NONE, NULL, 0,
2402 "dop.T_symmetric", HFILL }},
2403 { &hf_dop_roleA_replies,
2404 { "roleA-replies", "dop.roleA_replies",
2405 FT_NONE, BASE_NONE, NULL, 0,
2406 "dop.T_roleA_replies", HFILL }},
2407 { &hf_dop_roleB_replies,
2408 { "roleB-replies", "dop.roleB_replies",
2409 FT_NONE, BASE_NONE, NULL, 0,
2410 "dop.T_roleB_replies", HFILL }},
2411 { &hf_dop_performer,
2412 { "performer", "dop.performer",
2413 FT_UINT32, BASE_DEC, NULL, 0,
2414 "x509if.DistinguishedName", HFILL }},
2415 { &hf_dop_aliasDereferenced,
2416 { "aliasDereferenced", "dop.aliasDereferenced",
2417 FT_BOOLEAN, 8, NULL, 0,
2418 "dop.BOOLEAN", HFILL }},
2419 { &hf_dop_notification,
2420 { "notification", "dop.notification",
2421 FT_UINT32, BASE_DEC, NULL, 0,
2422 "dop.SEQUENCE_SIZE_1_MAX_OF_Attribute", HFILL }},
2423 { &hf_dop_notification_item,
2424 { "notification", "dop.notification_item",
2425 FT_NONE, BASE_NONE, NULL, 0,
2426 "x509if.Attribute", HFILL }},
2427 { &hf_dop_modifyInitiator,
2428 { "initiator", "dop.initiator",
2429 FT_UINT32, BASE_DEC, VALS(dop_ModifyArgumentInitiator_vals), 0,
2430 "dop.ModifyArgumentInitiator", HFILL }},
2431 { &hf_dop_modifySymmetric,
2432 { "symmetric", "dop.symmetric",
2433 FT_NONE, BASE_NONE, NULL, 0,
2434 "dop.ModifySymmetric", HFILL }},
2435 { &hf_dop_modifyRoleAInitiates,
2436 { "roleA-initiates", "dop.roleA_initiates",
2437 FT_NONE, BASE_NONE, NULL, 0,
2438 "dop.ModifyRoleAInitiates", HFILL }},
2439 { &hf_dop_modifyRoleBInitiates,
2440 { "roleB-initiates", "dop.roleB_initiates",
2441 FT_NONE, BASE_NONE, NULL, 0,
2442 "dop.ModifyRoleBInitiates", HFILL }},
2443 { &hf_dop_newBindingID,
2444 { "newBindingID", "dop.newBindingID",
2445 FT_NONE, BASE_NONE, NULL, 0,
2446 "dop.OperationalBindingID", HFILL }},
2447 { &hf_dop_argumentNewAgreement,
2448 { "newAgreement", "dop.newAgreement",
2449 FT_NONE, BASE_NONE, NULL, 0,
2450 "dop.ArgumentNewAgreement", HFILL }},
2451 { &hf_dop_unsignedModifyOperationalBindingArgument,
2452 { "unsignedModifyOperationalBindingArgument", "dop.unsignedModifyOperationalBindingArgument",
2453 FT_NONE, BASE_NONE, NULL, 0,
2454 "dop.ModifyOperationalBindingArgumentData", HFILL }},
2455 { &hf_dop_signedModifyOperationalBindingArgument,
2456 { "signedModifyOperationalBindingArgument", "dop.signedModifyOperationalBindingArgument",
2457 FT_NONE, BASE_NONE, NULL, 0,
2458 "dop.T_signedModifyOperationalBindingArgument", HFILL }},
2459 { &hf_dop_modifyOperationalBindingArgument,
2460 { "modifyOperationalBindingArgument", "dop.modifyOperationalBindingArgument",
2461 FT_NONE, BASE_NONE, NULL, 0,
2462 "dop.ModifyOperationalBindingArgumentData", HFILL }},
2464 { "null", "dop.null",
2465 FT_NONE, BASE_NONE, NULL, 0,
2466 "dop.NULL", HFILL }},
2467 { &hf_dop_protectedModifyResult,
2468 { "protected", "dop.protected",
2469 FT_NONE, BASE_NONE, NULL, 0,
2470 "dop.ProtectedModifyResult", HFILL }},
2471 { &hf_dop_modifyOperationalBindingResultData,
2472 { "modifyOperationalBindingResultData", "dop.modifyOperationalBindingResultData",
2473 FT_NONE, BASE_NONE, NULL, 0,
2474 "dop.ModifyOperationalBindingResultData", HFILL }},
2475 { &hf_dop_resultNewAgreement,
2476 { "newAgreement", "dop.newAgreement",
2477 FT_NONE, BASE_NONE, NULL, 0,
2478 "dop.ResultNewAgreement", HFILL }},
2479 { &hf_dop_terminateInitiator,
2480 { "initiator", "dop.initiator",
2481 FT_UINT32, BASE_DEC, VALS(dop_TerminateArgumentInitiator_vals), 0,
2482 "dop.TerminateArgumentInitiator", HFILL }},
2483 { &hf_dop_terminateSymmetric,
2484 { "symmetric", "dop.symmetric",
2485 FT_NONE, BASE_NONE, NULL, 0,
2486 "dop.TerminateSymmetric", HFILL }},
2487 { &hf_dop_terminateRoleAInitiates,
2488 { "roleA-initiates", "dop.roleA_initiates",
2489 FT_NONE, BASE_NONE, NULL, 0,
2490 "dop.TerminateRoleAInitiates", HFILL }},
2491 { &hf_dop_terminateRoleBInitiates,
2492 { "roleB-initiates", "dop.roleB_initiates",
2493 FT_NONE, BASE_NONE, NULL, 0,
2494 "dop.TerminateRoleBInitiates", HFILL }},
2495 { &hf_dop_terminateAtTime,
2496 { "terminateAt", "dop.terminateAt",
2497 FT_UINT32, BASE_DEC, VALS(dop_Time_vals), 0,
2498 "dop.Time", HFILL }},
2499 { &hf_dop_unsignedTerminateOperationalBindingArgument,
2500 { "unsignedTerminateOperationalBindingArgument", "dop.unsignedTerminateOperationalBindingArgument",
2501 FT_NONE, BASE_NONE, NULL, 0,
2502 "dop.TerminateOperationalBindingArgumentData", HFILL }},
2503 { &hf_dop_signedTerminateOperationalBindingArgument,
2504 { "signedTerminateOperationalBindingArgument", "dop.signedTerminateOperationalBindingArgument",
2505 FT_NONE, BASE_NONE, NULL, 0,
2506 "dop.T_signedTerminateOperationalBindingArgument", HFILL }},
2507 { &hf_dop_terminateOperationalBindingArgument,
2508 { "terminateOperationalBindingArgument", "dop.terminateOperationalBindingArgument",
2509 FT_NONE, BASE_NONE, NULL, 0,
2510 "dop.TerminateOperationalBindingArgumentData", HFILL }},
2511 { &hf_dop_protectedTerminateResult,
2512 { "protected", "dop.protected",
2513 FT_NONE, BASE_NONE, NULL, 0,
2514 "dop.ProtectedTerminateResult", HFILL }},
2515 { &hf_dop_terminateOperationalBindingResultData,
2516 { "terminateOperationalBindingResultData", "dop.terminateOperationalBindingResultData",
2517 FT_NONE, BASE_NONE, NULL, 0,
2518 "dop.TerminateOperationalBindingResultData", HFILL }},
2519 { &hf_dop_terminateAtGeneralizedTime,
2520 { "terminateAt", "dop.terminateAt",
2521 FT_STRING, BASE_NONE, NULL, 0,
2522 "dop.GeneralizedTime", HFILL }},
2524 { "problem", "dop.problem",
2525 FT_UINT32, BASE_DEC, VALS(dop_T_problem_vals), 0,
2526 "dop.T_problem", HFILL }},
2527 { &hf_dop_agreementProposal,
2528 { "agreementProposal", "dop.agreementProposal",
2529 FT_NONE, BASE_NONE, NULL, 0,
2530 "dop.T_agreementProposal", HFILL }},
2532 { "retryAt", "dop.retryAt",
2533 FT_UINT32, BASE_DEC, VALS(dop_Time_vals), 0,
2534 "dop.Time", HFILL }},
2537 FT_UINT32, BASE_DEC, NULL, 0,
2538 "x509if.RelativeDistinguishedName", HFILL }},
2539 { &hf_dop_immediateSuperior,
2540 { "immediateSuperior", "dop.immediateSuperior",
2541 FT_UINT32, BASE_DEC, NULL, 0,
2542 "x509if.DistinguishedName", HFILL }},
2543 { &hf_dop_contextPrefixInfo,
2544 { "contextPrefixInfo", "dop.contextPrefixInfo",
2545 FT_UINT32, BASE_DEC, NULL, 0,
2546 "dop.DITcontext", HFILL }},
2547 { &hf_dop_entryInfo,
2548 { "entryInfo", "dop.entryInfo",
2549 FT_UINT32, BASE_DEC, NULL, 0,
2550 "dop.SET_OF_Attribute", HFILL }},
2551 { &hf_dop_entryInfo_item,
2552 { "entryInfo", "dop.entryInfo_item",
2553 FT_NONE, BASE_NONE, NULL, 0,
2554 "x509if.Attribute", HFILL }},
2555 { &hf_dop_immediateSuperiorInfo,
2556 { "immediateSuperiorInfo", "dop.immediateSuperiorInfo",
2557 FT_UINT32, BASE_DEC, NULL, 0,
2558 "dop.SET_OF_Attribute", HFILL }},
2559 { &hf_dop_immediateSuperiorInfo_item,
2560 { "immediateSuperiorInfo", "dop.immediateSuperiorInfo_item",
2561 FT_NONE, BASE_NONE, NULL, 0,
2562 "x509if.Attribute", HFILL }},
2563 { &hf_dop_DITcontext_item,
2564 { "DITcontext", "dop.DITcontext_item",
2565 FT_NONE, BASE_NONE, NULL, 0,
2566 "dop.Vertex", HFILL }},
2567 { &hf_dop_admPointInfo,
2568 { "admPointInfo", "dop.admPointInfo",
2569 FT_UINT32, BASE_DEC, NULL, 0,
2570 "dop.SET_OF_Attribute", HFILL }},
2571 { &hf_dop_admPointInfo_item,
2572 { "admPointInfo", "dop.admPointInfo_item",
2573 FT_NONE, BASE_NONE, NULL, 0,
2574 "x509if.Attribute", HFILL }},
2575 { &hf_dop_subentries,
2576 { "subentries", "dop.subentries",
2577 FT_UINT32, BASE_DEC, NULL, 0,
2578 "dop.SET_OF_SubentryInfo", HFILL }},
2579 { &hf_dop_subentries_item,
2580 { "subentries", "dop.subentries_item",
2581 FT_NONE, BASE_NONE, NULL, 0,
2582 "dop.SubentryInfo", HFILL }},
2583 { &hf_dop_accessPoints,
2584 { "accessPoints", "dop.accessPoints",
2585 FT_UINT32, BASE_DEC, NULL, 0,
2586 "dsp.MasterAndShadowAccessPoints", HFILL }},
2588 { "info", "dop.info",
2589 FT_UINT32, BASE_DEC, NULL, 0,
2590 "dop.SET_OF_Attribute", HFILL }},
2591 { &hf_dop_info_item,
2592 { "info", "dop.info_item",
2593 FT_NONE, BASE_NONE, NULL, 0,
2594 "x509if.Attribute", HFILL }},
2596 { "alias", "dop.alias",
2597 FT_BOOLEAN, 8, NULL, 0,
2598 "dop.BOOLEAN", HFILL }},
2599 { &hf_dop_identificationTag,
2600 { "identificationTag", "dop.identificationTag",
2601 FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0,
2602 "x509sat.DirectoryString", HFILL }},
2603 { &hf_dop_precedence,
2604 { "precedence", "dop.precedence",
2605 FT_INT32, BASE_DEC, NULL, 0,
2606 "dop.Precedence", HFILL }},
2607 { &hf_dop_authenticationLevel,
2608 { "authenticationLevel", "dop.authenticationLevel",
2609 FT_UINT32, BASE_DEC, VALS(dop_AuthenticationLevel_vals), 0,
2610 "dop.AuthenticationLevel", HFILL }},
2611 { &hf_dop_itemOrUserFirst,
2612 { "itemOrUserFirst", "dop.itemOrUserFirst",
2613 FT_UINT32, BASE_DEC, VALS(dop_T_itemOrUserFirst_vals), 0,
2614 "dop.T_itemOrUserFirst", HFILL }},
2615 { &hf_dop_itemFirst,
2616 { "itemFirst", "dop.itemFirst",
2617 FT_NONE, BASE_NONE, NULL, 0,
2618 "dop.T_itemFirst", HFILL }},
2619 { &hf_dop_protectedItems,
2620 { "protectedItems", "dop.protectedItems",
2621 FT_NONE, BASE_NONE, NULL, 0,
2622 "dop.ProtectedItems", HFILL }},
2623 { &hf_dop_itemPermissions,
2624 { "itemPermissions", "dop.itemPermissions",
2625 FT_UINT32, BASE_DEC, NULL, 0,
2626 "dop.SET_OF_ItemPermission", HFILL }},
2627 { &hf_dop_itemPermissions_item,
2628 { "itemPermissions", "dop.itemPermissions_item",
2629 FT_NONE, BASE_NONE, NULL, 0,
2630 "dop.ItemPermission", HFILL }},
2631 { &hf_dop_userFirst,
2632 { "userFirst", "dop.userFirst",
2633 FT_NONE, BASE_NONE, NULL, 0,
2634 "dop.T_userFirst", HFILL }},
2635 { &hf_dop_userClasses,
2636 { "userClasses", "dop.userClasses",
2637 FT_NONE, BASE_NONE, NULL, 0,
2638 "dop.UserClasses", HFILL }},
2639 { &hf_dop_userPermissions,
2640 { "userPermissions", "dop.userPermissions",
2641 FT_UINT32, BASE_DEC, NULL, 0,
2642 "dop.SET_OF_UserPermission", HFILL }},
2643 { &hf_dop_userPermissions_item,
2644 { "userPermissions", "dop.userPermissions_item",
2645 FT_NONE, BASE_NONE, NULL, 0,
2646 "dop.UserPermission", HFILL }},
2648 { "entry", "dop.entry",
2649 FT_NONE, BASE_NONE, NULL, 0,
2650 "dop.NULL", HFILL }},
2651 { &hf_dop_allUserAttributeTypes,
2652 { "allUserAttributeTypes", "dop.allUserAttributeTypes",
2653 FT_NONE, BASE_NONE, NULL, 0,
2654 "dop.NULL", HFILL }},
2655 { &hf_dop_attributeType,
2656 { "attributeType", "dop.attributeType",
2657 FT_UINT32, BASE_DEC, NULL, 0,
2658 "dop.SET_OF_AttributeType", HFILL }},
2659 { &hf_dop_attributeType_item,
2660 { "attributeType", "dop.attributeType_item",
2661 FT_OID, BASE_NONE, NULL, 0,
2662 "x509if.AttributeType", HFILL }},
2663 { &hf_dop_allAttributeValues,
2664 { "allAttributeValues", "dop.allAttributeValues",
2665 FT_UINT32, BASE_DEC, NULL, 0,
2666 "dop.SET_OF_AttributeType", HFILL }},
2667 { &hf_dop_allAttributeValues_item,
2668 { "allAttributeValues", "dop.allAttributeValues_item",
2669 FT_OID, BASE_NONE, NULL, 0,
2670 "x509if.AttributeType", HFILL }},
2671 { &hf_dop_allUserAttributeTypesAndValues,
2672 { "allUserAttributeTypesAndValues", "dop.allUserAttributeTypesAndValues",
2673 FT_NONE, BASE_NONE, NULL, 0,
2674 "dop.NULL", HFILL }},
2675 { &hf_dop_attributeValue,
2676 { "attributeValue", "dop.attributeValue",
2677 FT_UINT32, BASE_DEC, NULL, 0,
2678 "dop.SET_OF_AttributeTypeAndValue", HFILL }},
2679 { &hf_dop_attributeValue_item,
2680 { "attributeValue", "dop.attributeValue_item",
2681 FT_NONE, BASE_NONE, NULL, 0,
2682 "crmf.AttributeTypeAndValue", HFILL }},
2683 { &hf_dop_selfValue,
2684 { "selfValue", "dop.selfValue",
2685 FT_UINT32, BASE_DEC, NULL, 0,
2686 "dop.SET_OF_AttributeType", HFILL }},
2687 { &hf_dop_selfValue_item,
2688 { "selfValue", "dop.selfValue_item",
2689 FT_OID, BASE_NONE, NULL, 0,
2690 "x509if.AttributeType", HFILL }},
2691 { &hf_dop_rangeOfValues,
2692 { "rangeOfValues", "dop.rangeOfValues",
2693 FT_UINT32, BASE_DEC, VALS(dap_Filter_vals), 0,
2694 "dap.Filter", HFILL }},
2695 { &hf_dop_maxValueCount,
2696 { "maxValueCount", "dop.maxValueCount",
2697 FT_UINT32, BASE_DEC, NULL, 0,
2698 "dop.SET_OF_MaxValueCount", HFILL }},
2699 { &hf_dop_maxValueCount_item,
2700 { "maxValueCount", "dop.maxValueCount_item",
2701 FT_NONE, BASE_NONE, NULL, 0,
2702 "dop.MaxValueCount", HFILL }},
2703 { &hf_dop_maxImmSub,
2704 { "maxImmSub", "dop.maxImmSub",
2705 FT_INT32, BASE_DEC, NULL, 0,
2706 "dop.INTEGER", HFILL }},
2707 { &hf_dop_restrictedBy,
2708 { "restrictedBy", "dop.restrictedBy",
2709 FT_UINT32, BASE_DEC, NULL, 0,
2710 "dop.SET_OF_RestrictedValue", HFILL }},
2711 { &hf_dop_restrictedBy_item,
2712 { "restrictedBy", "dop.restrictedBy_item",
2713 FT_NONE, BASE_NONE, NULL, 0,
2714 "dop.RestrictedValue", HFILL }},
2716 { "contexts", "dop.contexts",
2717 FT_UINT32, BASE_DEC, NULL, 0,
2718 "dop.SET_OF_ContextAssertion", HFILL }},
2719 { &hf_dop_contexts_item,
2720 { "contexts", "dop.contexts_item",
2721 FT_NONE, BASE_NONE, NULL, 0,
2722 "x509if.ContextAssertion", HFILL }},
2724 { "classes", "dop.classes",
2725 FT_UINT32, BASE_DEC, VALS(x509if_Refinement_vals), 0,
2726 "x509if.Refinement", HFILL }},
2728 { "type", "dop.type",
2729 FT_OID, BASE_NONE, NULL, 0,
2730 "x509if.AttributeType", HFILL }},
2732 { "maxCount", "dop.maxCount",
2733 FT_INT32, BASE_DEC, NULL, 0,
2734 "dop.INTEGER", HFILL }},
2736 { "valuesIn", "dop.valuesIn",
2737 FT_OID, BASE_NONE, NULL, 0,
2738 "x509if.AttributeType", HFILL }},
2740 { "allUsers", "dop.allUsers",
2741 FT_NONE, BASE_NONE, NULL, 0,
2742 "dop.NULL", HFILL }},
2743 { &hf_dop_thisEntry,
2744 { "thisEntry", "dop.thisEntry",
2745 FT_NONE, BASE_NONE, NULL, 0,
2746 "dop.NULL", HFILL }},
2748 { "name", "dop.name",
2749 FT_UINT32, BASE_DEC, NULL, 0,
2750 "dop.SET_OF_NameAndOptionalUID", HFILL }},
2751 { &hf_dop_name_item,
2752 { "name", "dop.name_item",
2753 FT_NONE, BASE_NONE, NULL, 0,
2754 "x509sat.NameAndOptionalUID", HFILL }},
2755 { &hf_dop_userGroup,
2756 { "userGroup", "dop.userGroup",
2757 FT_UINT32, BASE_DEC, NULL, 0,
2758 "dop.SET_OF_NameAndOptionalUID", HFILL }},
2759 { &hf_dop_userGroup_item,
2760 { "userGroup", "dop.userGroup_item",
2761 FT_NONE, BASE_NONE, NULL, 0,
2762 "x509sat.NameAndOptionalUID", HFILL }},
2764 { "subtree", "dop.subtree",
2765 FT_UINT32, BASE_DEC, NULL, 0,
2766 "dop.SET_OF_SubtreeSpecification", HFILL }},
2767 { &hf_dop_subtree_item,
2768 { "subtree", "dop.subtree_item",
2769 FT_NONE, BASE_NONE, NULL, 0,
2770 "x509if.SubtreeSpecification", HFILL }},
2771 { &hf_dop_grantsAndDenials,
2772 { "grantsAndDenials", "dop.grantsAndDenials",
2773 FT_BYTES, BASE_HEX, NULL, 0,
2774 "dop.GrantsAndDenials", HFILL }},
2775 { &hf_dop_basicLevels,
2776 { "basicLevels", "dop.basicLevels",
2777 FT_NONE, BASE_NONE, NULL, 0,
2778 "dop.T_basicLevels", HFILL }},
2780 { "level", "dop.level",
2781 FT_UINT32, BASE_DEC, VALS(dop_T_level_vals), 0,
2782 "dop.T_level", HFILL }},
2783 { &hf_dop_localQualifier,
2784 { "localQualifier", "dop.localQualifier",
2785 FT_INT32, BASE_DEC, NULL, 0,
2786 "dop.INTEGER", HFILL }},
2788 { "signed", "dop.signed",
2789 FT_BOOLEAN, 8, NULL, 0,
2790 "dop.BOOLEAN", HFILL }},
2792 { "other", "dop.other",
2793 FT_NONE, BASE_NONE, NULL, 0,
2794 "dop.EXTERNAL", HFILL }},
2795 { &hf_dop_DSEType_root,
2796 { "root", "dop.root",
2797 FT_BOOLEAN, 8, NULL, 0x80,
2799 { &hf_dop_DSEType_glue,
2800 { "glue", "dop.glue",
2801 FT_BOOLEAN, 8, NULL, 0x40,
2803 { &hf_dop_DSEType_cp,
2805 FT_BOOLEAN, 8, NULL, 0x20,
2807 { &hf_dop_DSEType_entry,
2808 { "entry", "dop.entry",
2809 FT_BOOLEAN, 8, NULL, 0x10,
2811 { &hf_dop_DSEType_alias,
2812 { "alias", "dop.alias",
2813 FT_BOOLEAN, 8, NULL, 0x08,
2815 { &hf_dop_DSEType_subr,
2816 { "subr", "dop.subr",
2817 FT_BOOLEAN, 8, NULL, 0x04,
2819 { &hf_dop_DSEType_nssr,
2820 { "nssr", "dop.nssr",
2821 FT_BOOLEAN, 8, NULL, 0x02,
2823 { &hf_dop_DSEType_supr,
2824 { "supr", "dop.supr",
2825 FT_BOOLEAN, 8, NULL, 0x01,
2827 { &hf_dop_DSEType_xr,
2829 FT_BOOLEAN, 8, NULL, 0x80,
2831 { &hf_dop_DSEType_admPoint,
2832 { "admPoint", "dop.admPoint",
2833 FT_BOOLEAN, 8, NULL, 0x40,
2835 { &hf_dop_DSEType_subentry,
2836 { "subentry", "dop.subentry",
2837 FT_BOOLEAN, 8, NULL, 0x20,
2839 { &hf_dop_DSEType_shadow,
2840 { "shadow", "dop.shadow",
2841 FT_BOOLEAN, 8, NULL, 0x10,
2843 { &hf_dop_DSEType_immSupr,
2844 { "immSupr", "dop.immSupr",
2845 FT_BOOLEAN, 8, NULL, 0x04,
2847 { &hf_dop_DSEType_rhob,
2848 { "rhob", "dop.rhob",
2849 FT_BOOLEAN, 8, NULL, 0x02,
2851 { &hf_dop_DSEType_sa,
2853 FT_BOOLEAN, 8, NULL, 0x01,
2855 { &hf_dop_DSEType_dsSubentry,
2856 { "dsSubentry", "dop.dsSubentry",
2857 FT_BOOLEAN, 8, NULL, 0x80,
2859 { &hf_dop_DSEType_familyMember,
2860 { "familyMember", "dop.familyMember",
2861 FT_BOOLEAN, 8, NULL, 0x40,
2863 { &hf_dop_GrantsAndDenials_grantAdd,
2864 { "grantAdd", "dop.grantAdd",
2865 FT_BOOLEAN, 8, NULL, 0x80,
2867 { &hf_dop_GrantsAndDenials_denyAdd,
2868 { "denyAdd", "dop.denyAdd",
2869 FT_BOOLEAN, 8, NULL, 0x40,
2871 { &hf_dop_GrantsAndDenials_grantDiscloseOnError,
2872 { "grantDiscloseOnError", "dop.grantDiscloseOnError",
2873 FT_BOOLEAN, 8, NULL, 0x20,
2875 { &hf_dop_GrantsAndDenials_denyDiscloseOnError,
2876 { "denyDiscloseOnError", "dop.denyDiscloseOnError",
2877 FT_BOOLEAN, 8, NULL, 0x10,
2879 { &hf_dop_GrantsAndDenials_grantRead,
2880 { "grantRead", "dop.grantRead",
2881 FT_BOOLEAN, 8, NULL, 0x08,
2883 { &hf_dop_GrantsAndDenials_denyRead,
2884 { "denyRead", "dop.denyRead",
2885 FT_BOOLEAN, 8, NULL, 0x04,
2887 { &hf_dop_GrantsAndDenials_grantRemove,
2888 { "grantRemove", "dop.grantRemove",
2889 FT_BOOLEAN, 8, NULL, 0x02,
2891 { &hf_dop_GrantsAndDenials_denyRemove,
2892 { "denyRemove", "dop.denyRemove",
2893 FT_BOOLEAN, 8, NULL, 0x01,
2895 { &hf_dop_GrantsAndDenials_grantBrowse,
2896 { "grantBrowse", "dop.grantBrowse",
2897 FT_BOOLEAN, 8, NULL, 0x80,
2899 { &hf_dop_GrantsAndDenials_denyBrowse,
2900 { "denyBrowse", "dop.denyBrowse",
2901 FT_BOOLEAN, 8, NULL, 0x40,
2903 { &hf_dop_GrantsAndDenials_grantExport,
2904 { "grantExport", "dop.grantExport",
2905 FT_BOOLEAN, 8, NULL, 0x20,
2907 { &hf_dop_GrantsAndDenials_denyExport,
2908 { "denyExport", "dop.denyExport",
2909 FT_BOOLEAN, 8, NULL, 0x10,
2911 { &hf_dop_GrantsAndDenials_grantImport,
2912 { "grantImport", "dop.grantImport",
2913 FT_BOOLEAN, 8, NULL, 0x08,
2915 { &hf_dop_GrantsAndDenials_denyImport,
2916 { "denyImport", "dop.denyImport",
2917 FT_BOOLEAN, 8, NULL, 0x04,
2919 { &hf_dop_GrantsAndDenials_grantModify,
2920 { "grantModify", "dop.grantModify",
2921 FT_BOOLEAN, 8, NULL, 0x02,
2923 { &hf_dop_GrantsAndDenials_denyModify,
2924 { "denyModify", "dop.denyModify",
2925 FT_BOOLEAN, 8, NULL, 0x01,
2927 { &hf_dop_GrantsAndDenials_grantRename,
2928 { "grantRename", "dop.grantRename",
2929 FT_BOOLEAN, 8, NULL, 0x80,
2931 { &hf_dop_GrantsAndDenials_denyRename,
2932 { "denyRename", "dop.denyRename",
2933 FT_BOOLEAN, 8, NULL, 0x40,
2935 { &hf_dop_GrantsAndDenials_grantReturnDN,
2936 { "grantReturnDN", "dop.grantReturnDN",
2937 FT_BOOLEAN, 8, NULL, 0x20,
2939 { &hf_dop_GrantsAndDenials_denyReturnDN,
2940 { "denyReturnDN", "dop.denyReturnDN",
2941 FT_BOOLEAN, 8, NULL, 0x10,
2943 { &hf_dop_GrantsAndDenials_grantCompare,
2944 { "grantCompare", "dop.grantCompare",
2945 FT_BOOLEAN, 8, NULL, 0x08,
2947 { &hf_dop_GrantsAndDenials_denyCompare,
2948 { "denyCompare", "dop.denyCompare",
2949 FT_BOOLEAN, 8, NULL, 0x04,
2951 { &hf_dop_GrantsAndDenials_grantFilterMatch,
2952 { "grantFilterMatch", "dop.grantFilterMatch",
2953 FT_BOOLEAN, 8, NULL, 0x02,
2955 { &hf_dop_GrantsAndDenials_denyFilterMatch,
2956 { "denyFilterMatch", "dop.denyFilterMatch",
2957 FT_BOOLEAN, 8, NULL, 0x01,
2959 { &hf_dop_GrantsAndDenials_grantInvoke,
2960 { "grantInvoke", "dop.grantInvoke",
2961 FT_BOOLEAN, 8, NULL, 0x80,
2963 { &hf_dop_GrantsAndDenials_denyInvoke,
2964 { "denyInvoke", "dop.denyInvoke",
2965 FT_BOOLEAN, 8, NULL, 0x40,
2968 /*--- End of included file: packet-dop-hfarr.c ---*/
2969 #line 251 "packet-dop-template.c"
2972 /* List of subtrees */
2973 static gint *ett[] = {
2977 /*--- Included file: packet-dop-ettarr.c ---*/
2978 #line 1 "packet-dop-ettarr.c"
2980 &ett_dop_SupplierOrConsumer,
2981 &ett_dop_SET_OF_ProtocolInformation,
2982 &ett_dop_SupplierInformation,
2983 &ett_dop_SupplierAndConsumers,
2984 &ett_dop_SET_OF_AccessPoint,
2985 &ett_dop_EstablishOperationalBindingArgumentData,
2986 &ett_dop_EstablishArgumentInitiator,
2987 &ett_dop_EstablishOperationalBindingArgument,
2988 &ett_dop_T_signedEstablishOperationalBindingArgument,
2989 &ett_dop_OperationalBindingID,
2991 &ett_dop_T_validFrom,
2992 &ett_dop_T_validUntil,
2994 &ett_dop_EstablishOperationalBindingResult,
2995 &ett_dop_T_initiator,
2996 &ett_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute,
2997 &ett_dop_ModifyOperationalBindingArgumentData,
2998 &ett_dop_ModifyArgumentInitiator,
2999 &ett_dop_ModifyOperationalBindingArgument,
3000 &ett_dop_T_signedModifyOperationalBindingArgument,
3001 &ett_dop_ModifyOperationalBindingResult,
3002 &ett_dop_ProtectedModifyResult,
3003 &ett_dop_ModifyOperationalBindingResultData,
3004 &ett_dop_TerminateOperationalBindingArgumentData,
3005 &ett_dop_TerminateArgumentInitiator,
3006 &ett_dop_TerminateOperationalBindingArgument,
3007 &ett_dop_T_signedTerminateOperationalBindingArgument,
3008 &ett_dop_TerminateOperationalBindingResult,
3009 &ett_dop_ProtectedTerminateResult,
3010 &ett_dop_TerminateOperationalBindingResultData,
3011 &ett_dop_OpBindingErrorParam,
3012 &ett_dop_HierarchicalAgreement,
3013 &ett_dop_SuperiorToSubordinate,
3014 &ett_dop_SET_OF_Attribute,
3015 &ett_dop_DITcontext,
3017 &ett_dop_SET_OF_SubentryInfo,
3018 &ett_dop_SubentryInfo,
3019 &ett_dop_SubordinateToSuperior,
3020 &ett_dop_SuperiorToSubordinateModification,
3021 &ett_dop_NonSpecificHierarchicalAgreement,
3022 &ett_dop_NHOBSuperiorToSubordinate,
3023 &ett_dop_NHOBSubordinateToSuperior,
3025 &ett_dop_T_itemOrUserFirst,
3026 &ett_dop_T_itemFirst,
3027 &ett_dop_SET_OF_ItemPermission,
3028 &ett_dop_T_userFirst,
3029 &ett_dop_SET_OF_UserPermission,
3030 &ett_dop_ProtectedItems,
3031 &ett_dop_SET_OF_AttributeType,
3032 &ett_dop_SET_OF_AttributeTypeAndValue,
3033 &ett_dop_SET_OF_MaxValueCount,
3034 &ett_dop_SET_OF_RestrictedValue,
3035 &ett_dop_SET_OF_ContextAssertion,
3036 &ett_dop_MaxValueCount,
3037 &ett_dop_RestrictedValue,
3038 &ett_dop_UserClasses,
3039 &ett_dop_SET_OF_NameAndOptionalUID,
3040 &ett_dop_SET_OF_SubtreeSpecification,
3041 &ett_dop_ItemPermission,
3042 &ett_dop_UserPermission,
3043 &ett_dop_AuthenticationLevel,
3044 &ett_dop_T_basicLevels,
3045 &ett_dop_GrantsAndDenials,
3047 /*--- End of included file: packet-dop-ettarr.c ---*/
3048 #line 258 "packet-dop-template.c"
3051 module_t *dop_module;
3053 /* Register protocol */
3054 proto_dop = proto_register_protocol(PNAME, PSNAME, PFNAME);
3056 register_dissector("dop", dissect_dop, proto_dop);
3058 dop_dissector_table = register_dissector_table("dop.oid", "DOP OID Dissectors", FT_STRING, BASE_NONE);
3060 /* Register fields and subtrees */
3061 proto_register_field_array(proto_dop, hf, array_length(hf));
3062 proto_register_subtree_array(ett, array_length(ett));
3064 /* Register our configuration options for DOP, particularly our port */
3066 dop_module = prefs_register_protocol_subtree("OSI/X.500", proto_dop, prefs_register_dop);
3068 prefs_register_uint_preference(dop_module, "tcp.port", "DOP TCP Port",
3069 "Set the port for DOP operations (if other"
3070 " than the default of 102)",
3071 10, &global_dop_tcp_port);
3077 /*--- proto_reg_handoff_dop --- */
3078 void proto_reg_handoff_dop(void) {
3079 dissector_handle_t dop_handle;
3082 /*--- Included file: packet-dop-dis-tab.c ---*/
3083 #line 1 "packet-dop-dis-tab.c"
3084 register_ber_oid_dissector("2.5.12.0", dissect_DSEType_PDU, proto_dop, "id-doa-dseType");
3085 register_ber_oid_dissector("2.5.12.5", dissect_SupplierInformation_PDU, proto_dop, "id-doa-supplierKnowledge");
3086 register_ber_oid_dissector("2.5.12.6", dissect_ConsumerInformation_PDU, proto_dop, "id-doa-consumerKnowledge");
3087 register_ber_oid_dissector("2.5.12.7", dissect_SupplierAndConsumers_PDU, proto_dop, "id-doa-secondaryShadows");
3088 dissector_add_string("dop.oid", "agreement.2.5.19.2", create_dissector_handle(dissect_HierarchicalAgreement_PDU, proto_dop));
3089 dissector_add_string("dop.oid", "establish.rolea.2.5.19.2", create_dissector_handle(dissect_SuperiorToSubordinate_PDU, proto_dop));
3090 dissector_add_string("dop.oid", "modify.rolea.2.5.19.2", create_dissector_handle(dissect_SuperiorToSubordinateModification_PDU, proto_dop));
3091 dissector_add_string("dop.oid", "establish.roleb.2.5.19.2", create_dissector_handle(dissect_SubordinateToSuperior_PDU, proto_dop));
3092 dissector_add_string("dop.oid", "modify.roleb.2.5.19.2", create_dissector_handle(dissect_SubordinateToSuperior_PDU, proto_dop));
3093 dissector_add_string("dop.oid", "agreement.2.5.19.3", create_dissector_handle(dissect_NonSpecificHierarchicalAgreement_PDU, proto_dop));
3094 dissector_add_string("dop.oid", "establish.rolea.2.5.19.3", create_dissector_handle(dissect_NHOBSuperiorToSubordinate_PDU, proto_dop));
3095 dissector_add_string("dop.oid", "modify.rolea.2.5.19.3", create_dissector_handle(dissect_NHOBSuperiorToSubordinate_PDU, proto_dop));
3096 dissector_add_string("dop.oid", "establish.roleb.2.5.19.3", create_dissector_handle(dissect_NHOBSubordinateToSuperior_PDU, proto_dop));
3097 dissector_add_string("dop.oid", "modify.roleb.2.5.19.3", create_dissector_handle(dissect_NHOBSubordinateToSuperior_PDU, proto_dop));
3098 register_ber_oid_dissector("2.5.24.4", dissect_ACIItem_PDU, proto_dop, "id-aca-prescriptiveACI");
3099 register_ber_oid_dissector("2.5.24.5", dissect_ACIItem_PDU, proto_dop, "id-aca-entryACI");
3100 register_ber_oid_dissector("2.5.24.6", dissect_ACIItem_PDU, proto_dop, "id-aca-subentryACI");
3103 /*--- End of included file: packet-dop-dis-tab.c ---*/
3104 #line 291 "packet-dop-template.c"
3105 /* APPLICATION CONTEXT */
3107 oid_add_from_string("id-ac-directory-operational-binding-management","2.5.3.3");
3109 /* ABSTRACT SYNTAXES */
3111 /* Register DOP with ROS (with no use of RTSE) */
3112 dop_handle = find_dissector("dop");
3113 register_ros_oid_dissector_handle("2.5.9.4", dop_handle, 0, "id-as-directory-operational-binding-management", FALSE);
3117 oid_add_from_string("shadow-agreement","2.5.19.1");
3118 oid_add_from_string("hierarchical-agreement","2.5.19.2");
3119 oid_add_from_string("non-specific-hierarchical-agreement","2.5.19.3");
3121 /* ACCESS CONTROL SCHEMES */
3122 oid_add_from_string("basic-ACS","2.5.28.1");
3123 oid_add_from_string("simplified-ACS","2.5.28.2");
3124 oid_add_from_string("ruleBased-ACS","2.5.28.3");
3125 oid_add_from_string("ruleAndBasic-ACS","2.5.28.4");
3126 oid_add_from_string("ruleAndSimple-ACS","2.5.28.5");
3128 /* ADMINISTRATIVE ROLES */
3129 oid_add_from_string("id-ar-autonomousArea","2.5.23.1");
3130 oid_add_from_string("id-ar-accessControlSpecificArea","2.5.23.2");
3131 oid_add_from_string("id-ar-accessControlInnerArea","2.5.23.3");
3132 oid_add_from_string("id-ar-subschemaAdminSpecificArea","2.5.23.4");
3133 oid_add_from_string("id-ar-collectiveAttributeSpecificArea","2.5.23.5");
3134 oid_add_from_string("id-ar-collectiveAttributeInnerArea","2.5.23.6");
3135 oid_add_from_string("id-ar-contextDefaultSpecificArea","2.5.23.7");
3136 oid_add_from_string("id-ar-serviceSpecificArea","2.5.23.8");
3138 /* remember the tpkt handler for change in preferences */
3139 tpkt_handle = find_dissector("tpkt");
3143 void prefs_register_dop(void) {
3144 static guint tcp_port = 0;
3146 /* de-register the old port */
3147 /* port 102 is registered by TPKT - don't undo this! */
3148 if((tcp_port > 0) && (tcp_port != 102) && tpkt_handle)
3149 dissector_delete("tcp.port", tcp_port, tpkt_handle);
3151 /* Set our port number for future use */
3152 tcp_port = global_dop_tcp_port;
3154 if((tcp_port > 0) && (tcp_port != 102) && tpkt_handle)
3155 dissector_add("tcp.port", tcp_port, tpkt_handle);