1 /* Do not modify this file. */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler */
4 /* ../../tools/asn2wrs.py -b -p pkinit -c ./pkinit.cnf -s ./packet-pkinit-template -D . -O ../../epan/dissectors PKINIT.asn */
6 /* Input file: packet-pkinit-template.c */
8 #line 1 "../../asn1/pkinit/packet-pkinit-template.c"
10 * Routines for PKINIT packet dissection
11 * Ronnie Sahlberg 2004
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
37 #include <epan/packet.h>
38 #include <epan/asn1.h>
40 #include "packet-ber.h"
41 #include "packet-pkinit.h"
42 #include "packet-cms.h"
43 #include "packet-pkix1explicit.h"
44 #include "packet-kerberos.h"
46 #define PNAME "PKINIT"
47 #define PSNAME "PKInit"
48 #define PFNAME "pkinit"
50 /* Initialize the protocol and registered fields */
51 static int proto_pkinit = -1;
53 /*--- Included file: packet-pkinit-hf.c ---*/
54 #line 1 "../../asn1/pkinit/packet-pkinit-hf.c"
55 static int hf_pkinit_AuthPack_PDU = -1; /* AuthPack */
56 static int hf_pkinit_KRB5PrincipalName_PDU = -1; /* KRB5PrincipalName */
57 static int hf_pkinit_KDCDHKeyInfo_PDU = -1; /* KDCDHKeyInfo */
58 static int hf_pkinit_signedAuthPack = -1; /* ContentInfo */
59 static int hf_pkinit_trustedCertifiers = -1; /* SEQUENCE_OF_TrustedCA */
60 static int hf_pkinit_trustedCertifiers_item = -1; /* TrustedCA */
61 static int hf_pkinit_kdcCert = -1; /* IssuerAndSerialNumber */
62 static int hf_pkinit_caName = -1; /* Name */
63 static int hf_pkinit_issuerAndSerial = -1; /* IssuerAndSerialNumber */
64 static int hf_pkinit_pkAuthenticator = -1; /* PKAuthenticator */
65 static int hf_pkinit_clientPublicValue = -1; /* SubjectPublicKeyInfo */
66 static int hf_pkinit_supportedCMSTypes = -1; /* SEQUENCE_OF_AlgorithmIdentifier */
67 static int hf_pkinit_supportedCMSTypes_item = -1; /* AlgorithmIdentifier */
68 static int hf_pkinit_cusec = -1; /* INTEGER */
69 static int hf_pkinit_ctime = -1; /* KerberosTime */
70 static int hf_pkinit_paNonce = -1; /* INTEGER_0_4294967295 */
71 static int hf_pkinit_paChecksum = -1; /* Checksum */
72 static int hf_pkinit_realm = -1; /* Realm */
73 static int hf_pkinit_principalName = -1; /* PrincipalName */
74 static int hf_pkinit_dhSignedData = -1; /* ContentInfo */
75 static int hf_pkinit_encKeyPack = -1; /* ContentInfo */
76 static int hf_pkinit_subjectPublicKey = -1; /* BIT_STRING */
77 static int hf_pkinit_dhNonce = -1; /* INTEGER */
78 static int hf_pkinit_dhKeyExpiration = -1; /* KerberosTime */
80 /*--- End of included file: packet-pkinit-hf.c ---*/
81 #line 45 "../../asn1/pkinit/packet-pkinit-template.c"
83 /* Initialize the subtree pointers */
85 /*--- Included file: packet-pkinit-ett.c ---*/
86 #line 1 "../../asn1/pkinit/packet-pkinit-ett.c"
87 static gint ett_pkinit_PaPkAsReq = -1;
88 static gint ett_pkinit_SEQUENCE_OF_TrustedCA = -1;
89 static gint ett_pkinit_TrustedCA = -1;
90 static gint ett_pkinit_AuthPack = -1;
91 static gint ett_pkinit_SEQUENCE_OF_AlgorithmIdentifier = -1;
92 static gint ett_pkinit_PKAuthenticator = -1;
93 static gint ett_pkinit_KRB5PrincipalName = -1;
94 static gint ett_pkinit_PaPkAsRep = -1;
95 static gint ett_pkinit_KDCDHKeyInfo = -1;
97 /*--- End of included file: packet-pkinit-ett.c ---*/
98 #line 48 "../../asn1/pkinit/packet-pkinit-template.c"
100 static int dissect_KerberosV5Spec2_KerberosTime(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_);
101 static int dissect_KerberosV5Spec2_Checksum(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_);
102 static int dissect_KerberosV5Spec2_Realm(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_);
103 static int dissect_KerberosV5Spec2_PrincipalName(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_);
106 /*--- Included file: packet-pkinit-fn.c ---*/
107 #line 1 "../../asn1/pkinit/packet-pkinit-fn.c"
109 static const value_string pkinit_TrustedCA_vals[] = {
111 { 2, "issuerAndSerial" },
115 static const ber_choice_t TrustedCA_choice[] = {
116 { 0, &hf_pkinit_caName , BER_CLASS_CON, 0, 0, dissect_pkix1explicit_Name },
117 { 2, &hf_pkinit_issuerAndSerial, BER_CLASS_CON, 2, 0, dissect_cms_IssuerAndSerialNumber },
118 { 0, NULL, 0, 0, 0, NULL }
122 dissect_pkinit_TrustedCA(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
123 offset = dissect_ber_choice(actx, tree, tvb, offset,
124 TrustedCA_choice, hf_index, ett_pkinit_TrustedCA,
131 static const ber_sequence_t SEQUENCE_OF_TrustedCA_sequence_of[1] = {
132 { &hf_pkinit_trustedCertifiers_item, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_pkinit_TrustedCA },
136 dissect_pkinit_SEQUENCE_OF_TrustedCA(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
137 offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
138 SEQUENCE_OF_TrustedCA_sequence_of, hf_index, ett_pkinit_SEQUENCE_OF_TrustedCA);
144 static const ber_sequence_t PaPkAsReq_sequence[] = {
145 { &hf_pkinit_signedAuthPack, BER_CLASS_CON, 0, 0, dissect_cms_ContentInfo },
146 { &hf_pkinit_trustedCertifiers, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_pkinit_SEQUENCE_OF_TrustedCA },
147 { &hf_pkinit_kdcCert , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_cms_IssuerAndSerialNumber },
148 { NULL, 0, 0, 0, NULL }
152 dissect_pkinit_PaPkAsReq(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
153 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
154 PaPkAsReq_sequence, hf_index, ett_pkinit_PaPkAsReq);
162 dissect_pkinit_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_) {
163 offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
172 dissect_pkinit_INTEGER_0_4294967295(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
173 offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
180 static const ber_sequence_t PKAuthenticator_sequence[] = {
181 { &hf_pkinit_cusec , BER_CLASS_CON, 0, 0, dissect_pkinit_INTEGER },
182 { &hf_pkinit_ctime , BER_CLASS_CON, 1, 0, dissect_KerberosV5Spec2_KerberosTime },
183 { &hf_pkinit_paNonce , BER_CLASS_CON, 2, 0, dissect_pkinit_INTEGER_0_4294967295 },
184 { &hf_pkinit_paChecksum , BER_CLASS_CON, 3, 0, dissect_KerberosV5Spec2_Checksum },
185 { NULL, 0, 0, 0, NULL }
189 dissect_pkinit_PKAuthenticator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
190 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
191 PKAuthenticator_sequence, hf_index, ett_pkinit_PKAuthenticator);
197 static const ber_sequence_t SEQUENCE_OF_AlgorithmIdentifier_sequence_of[1] = {
198 { &hf_pkinit_supportedCMSTypes_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_pkix1explicit_AlgorithmIdentifier },
202 dissect_pkinit_SEQUENCE_OF_AlgorithmIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
203 offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
204 SEQUENCE_OF_AlgorithmIdentifier_sequence_of, hf_index, ett_pkinit_SEQUENCE_OF_AlgorithmIdentifier);
210 static const ber_sequence_t AuthPack_sequence[] = {
211 { &hf_pkinit_pkAuthenticator, BER_CLASS_CON, 0, 0, dissect_pkinit_PKAuthenticator },
212 { &hf_pkinit_clientPublicValue, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_pkix1explicit_SubjectPublicKeyInfo },
213 { &hf_pkinit_supportedCMSTypes, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_pkinit_SEQUENCE_OF_AlgorithmIdentifier },
214 { NULL, 0, 0, 0, NULL }
218 dissect_pkinit_AuthPack(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
219 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
220 AuthPack_sequence, hf_index, ett_pkinit_AuthPack);
226 static const ber_sequence_t KRB5PrincipalName_sequence[] = {
227 { &hf_pkinit_realm , BER_CLASS_CON, 0, 0, dissect_KerberosV5Spec2_Realm },
228 { &hf_pkinit_principalName, BER_CLASS_CON, 1, 0, dissect_KerberosV5Spec2_PrincipalName },
229 { NULL, 0, 0, 0, NULL }
233 dissect_pkinit_KRB5PrincipalName(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
234 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
235 KRB5PrincipalName_sequence, hf_index, ett_pkinit_KRB5PrincipalName);
241 const value_string pkinit_PaPkAsRep_vals[] = {
242 { 0, "dhSignedData" },
247 static const ber_choice_t PaPkAsRep_choice[] = {
248 { 0, &hf_pkinit_dhSignedData , BER_CLASS_CON, 0, 0, dissect_cms_ContentInfo },
249 { 1, &hf_pkinit_encKeyPack , BER_CLASS_CON, 1, 0, dissect_cms_ContentInfo },
250 { 0, NULL, 0, 0, 0, NULL }
254 dissect_pkinit_PaPkAsRep(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
255 offset = dissect_ber_choice(actx, tree, tvb, offset,
256 PaPkAsRep_choice, hf_index, ett_pkinit_PaPkAsRep,
265 dissect_pkinit_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_) {
266 offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset,
274 static const ber_sequence_t KDCDHKeyInfo_sequence[] = {
275 { &hf_pkinit_subjectPublicKey, BER_CLASS_CON, 0, 0, dissect_pkinit_BIT_STRING },
276 { &hf_pkinit_dhNonce , BER_CLASS_CON, 1, 0, dissect_pkinit_INTEGER },
277 { &hf_pkinit_dhKeyExpiration, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_KerberosV5Spec2_KerberosTime },
278 { NULL, 0, 0, 0, NULL }
282 dissect_pkinit_KDCDHKeyInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
283 offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
284 KDCDHKeyInfo_sequence, hf_index, ett_pkinit_KDCDHKeyInfo);
291 static void dissect_AuthPack_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
293 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
294 dissect_pkinit_AuthPack(FALSE, tvb, 0, &asn1_ctx, tree, hf_pkinit_AuthPack_PDU);
296 static void dissect_KRB5PrincipalName_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
298 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
299 dissect_pkinit_KRB5PrincipalName(FALSE, tvb, 0, &asn1_ctx, tree, hf_pkinit_KRB5PrincipalName_PDU);
301 static void dissect_KDCDHKeyInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
303 asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
304 dissect_pkinit_KDCDHKeyInfo(FALSE, tvb, 0, &asn1_ctx, tree, hf_pkinit_KDCDHKeyInfo_PDU);
308 /*--- End of included file: packet-pkinit-fn.c ---*/
309 #line 55 "../../asn1/pkinit/packet-pkinit-template.c"
312 dissect_pkinit_PA_PK_AS_REQ(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) {
313 offset = dissect_pkinit_PaPkAsReq(FALSE, tvb, offset, actx, tree, -1);
318 dissect_pkinit_PA_PK_AS_REP(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_) {
319 offset = dissect_pkinit_PaPkAsRep(FALSE, tvb, offset, actx, tree, -1);
324 dissect_KerberosV5Spec2_KerberosTime(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_) {
325 offset = dissect_krb5_ctime(tree, tvb, offset, actx);
330 dissect_KerberosV5Spec2_Checksum(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_) {
331 offset = dissect_krb5_Checksum(tree, tvb, offset, actx);
336 dissect_KerberosV5Spec2_Realm(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_) {
337 offset = dissect_krb5_realm(tree, tvb, offset, actx);
342 dissect_KerberosV5Spec2_PrincipalName(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_) {
343 offset = dissect_krb5_cname(tree, tvb, offset, actx);
348 /*--- proto_register_pkinit ----------------------------------------------*/
349 void proto_register_pkinit(void) {
352 static hf_register_info hf[] = {
354 /*--- Included file: packet-pkinit-hfarr.c ---*/
355 #line 1 "../../asn1/pkinit/packet-pkinit-hfarr.c"
356 { &hf_pkinit_AuthPack_PDU,
357 { "AuthPack", "pkinit.AuthPack",
358 FT_NONE, BASE_NONE, NULL, 0,
360 { &hf_pkinit_KRB5PrincipalName_PDU,
361 { "KRB5PrincipalName", "pkinit.KRB5PrincipalName",
362 FT_NONE, BASE_NONE, NULL, 0,
364 { &hf_pkinit_KDCDHKeyInfo_PDU,
365 { "KDCDHKeyInfo", "pkinit.KDCDHKeyInfo",
366 FT_NONE, BASE_NONE, NULL, 0,
368 { &hf_pkinit_signedAuthPack,
369 { "signedAuthPack", "pkinit.signedAuthPack",
370 FT_NONE, BASE_NONE, NULL, 0,
371 "ContentInfo", HFILL }},
372 { &hf_pkinit_trustedCertifiers,
373 { "trustedCertifiers", "pkinit.trustedCertifiers",
374 FT_UINT32, BASE_DEC, NULL, 0,
375 "SEQUENCE_OF_TrustedCA", HFILL }},
376 { &hf_pkinit_trustedCertifiers_item,
377 { "TrustedCA", "pkinit.TrustedCA",
378 FT_UINT32, BASE_DEC, VALS(pkinit_TrustedCA_vals), 0,
380 { &hf_pkinit_kdcCert,
381 { "kdcCert", "pkinit.kdcCert",
382 FT_NONE, BASE_NONE, NULL, 0,
383 "IssuerAndSerialNumber", HFILL }},
385 { "caName", "pkinit.caName",
386 FT_UINT32, BASE_DEC, NULL, 0,
388 { &hf_pkinit_issuerAndSerial,
389 { "issuerAndSerial", "pkinit.issuerAndSerial",
390 FT_NONE, BASE_NONE, NULL, 0,
391 "IssuerAndSerialNumber", HFILL }},
392 { &hf_pkinit_pkAuthenticator,
393 { "pkAuthenticator", "pkinit.pkAuthenticator",
394 FT_NONE, BASE_NONE, NULL, 0,
396 { &hf_pkinit_clientPublicValue,
397 { "clientPublicValue", "pkinit.clientPublicValue",
398 FT_NONE, BASE_NONE, NULL, 0,
399 "SubjectPublicKeyInfo", HFILL }},
400 { &hf_pkinit_supportedCMSTypes,
401 { "supportedCMSTypes", "pkinit.supportedCMSTypes",
402 FT_UINT32, BASE_DEC, NULL, 0,
403 "SEQUENCE_OF_AlgorithmIdentifier", HFILL }},
404 { &hf_pkinit_supportedCMSTypes_item,
405 { "AlgorithmIdentifier", "pkinit.AlgorithmIdentifier",
406 FT_NONE, BASE_NONE, NULL, 0,
409 { "cusec", "pkinit.cusec",
410 FT_INT32, BASE_DEC, NULL, 0,
413 { "ctime", "pkinit.ctime",
414 FT_NONE, BASE_NONE, NULL, 0,
415 "KerberosTime", HFILL }},
416 { &hf_pkinit_paNonce,
417 { "nonce", "pkinit.nonce",
418 FT_UINT32, BASE_DEC, NULL, 0,
419 "INTEGER_0_4294967295", HFILL }},
420 { &hf_pkinit_paChecksum,
421 { "paChecksum", "pkinit.paChecksum",
422 FT_NONE, BASE_NONE, NULL, 0,
423 "Checksum", HFILL }},
425 { "realm", "pkinit.realm",
426 FT_NONE, BASE_NONE, NULL, 0,
428 { &hf_pkinit_principalName,
429 { "principalName", "pkinit.principalName",
430 FT_NONE, BASE_NONE, NULL, 0,
432 { &hf_pkinit_dhSignedData,
433 { "dhSignedData", "pkinit.dhSignedData",
434 FT_NONE, BASE_NONE, NULL, 0,
435 "ContentInfo", HFILL }},
436 { &hf_pkinit_encKeyPack,
437 { "encKeyPack", "pkinit.encKeyPack",
438 FT_NONE, BASE_NONE, NULL, 0,
439 "ContentInfo", HFILL }},
440 { &hf_pkinit_subjectPublicKey,
441 { "subjectPublicKey", "pkinit.subjectPublicKey",
442 FT_BYTES, BASE_NONE, NULL, 0,
443 "BIT_STRING", HFILL }},
444 { &hf_pkinit_dhNonce,
445 { "nonce", "pkinit.nonce",
446 FT_INT32, BASE_DEC, NULL, 0,
448 { &hf_pkinit_dhKeyExpiration,
449 { "dhKeyExpiration", "pkinit.dhKeyExpiration",
450 FT_NONE, BASE_NONE, NULL, 0,
451 "KerberosTime", HFILL }},
453 /*--- End of included file: packet-pkinit-hfarr.c ---*/
454 #line 99 "../../asn1/pkinit/packet-pkinit-template.c"
457 /* List of subtrees */
458 static gint *ett[] = {
460 /*--- Included file: packet-pkinit-ettarr.c ---*/
461 #line 1 "../../asn1/pkinit/packet-pkinit-ettarr.c"
462 &ett_pkinit_PaPkAsReq,
463 &ett_pkinit_SEQUENCE_OF_TrustedCA,
464 &ett_pkinit_TrustedCA,
465 &ett_pkinit_AuthPack,
466 &ett_pkinit_SEQUENCE_OF_AlgorithmIdentifier,
467 &ett_pkinit_PKAuthenticator,
468 &ett_pkinit_KRB5PrincipalName,
469 &ett_pkinit_PaPkAsRep,
470 &ett_pkinit_KDCDHKeyInfo,
472 /*--- End of included file: packet-pkinit-ettarr.c ---*/
473 #line 104 "../../asn1/pkinit/packet-pkinit-template.c"
476 /* Register protocol */
477 proto_pkinit = proto_register_protocol(PNAME, PSNAME, PFNAME);
479 /* Register fields and subtrees */
480 proto_register_field_array(proto_pkinit, hf, array_length(hf));
481 proto_register_subtree_array(ett, array_length(ett));
486 /*--- proto_reg_handoff_pkinit -------------------------------------------*/
487 void proto_reg_handoff_pkinit(void) {
489 /*--- Included file: packet-pkinit-dis-tab.c ---*/
490 #line 1 "../../asn1/pkinit/packet-pkinit-dis-tab.c"
491 register_ber_oid_dissector("1.3.6.1.5.2.3.1", dissect_AuthPack_PDU, proto_pkinit, "id-pkauthdata");
492 register_ber_oid_dissector("1.3.6.1.5.2.3.2", dissect_KDCDHKeyInfo_PDU, proto_pkinit, "id-pkdhkeydata");
493 register_ber_oid_dissector("1.3.6.1.5.2.2", dissect_KRB5PrincipalName_PDU, proto_pkinit, "id-pkinit-san");
496 /*--- End of included file: packet-pkinit-dis-tab.c ---*/
497 #line 119 "../../asn1/pkinit/packet-pkinit-template.c"