1 /* Do not modify this file. */
2 /* It is created automatically by the ASN.1 to Ethereal dissector compiler */
3 /* ./packet-pkinit.c */
4 /* ../../tools/asn2eth.py -e -X -b -p pkinit -c pkinit.cnf -s packet-pkinit-template PKINIT.asn */
6 /* Input file: packet-pkinit-template.c */
9 * Routines for PKINIT packet dissection
10 * Ronnie Sahlberg 2004
12 * $Id: packet-pkinit-template.c 12463 2004-11-01 17:49:53Z gerald $
14 * Ethereal - Network traffic analyzer
15 * By Gerald Combs <gerald@ethereal.com>
16 * Copyright 1998 Gerald Combs
18 * This program is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU General Public License
20 * as published by the Free Software Foundation; either version 2
21 * of the License, or (at your option) any later version.
23 * This program is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
28 * You should have received a copy of the GNU General Public License
29 * along with this program; if not, write to the Free Software
30 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
38 #include <epan/packet.h>
39 #include <epan/conversation.h>
44 #include "packet-ber.h"
45 #include "packet-pkinit.h"
46 #include "packet-cms.h"
47 #include "packet-pkix1explicit.h"
48 #include "packet-kerberos.h"
50 #define PNAME "PKINIT"
51 #define PSNAME "PKInit"
52 #define PFNAME "pkinit"
54 /* Initialize the protocol and registered fields */
55 static int proto_pkinit = -1;
57 /*--- Included file: packet-pkinit-hf.c ---*/
59 static int hf_pkinit_AuthPack_PDU = -1; /* AuthPack */
60 static int hf_pkinit_KDCDHKeyInfo_PDU = -1; /* KDCDHKeyInfo */
61 static int hf_pkinit_signedAuthPack = -1; /* ContentInfo */
62 static int hf_pkinit_trustedCertifiers = -1; /* SEQUNCE_OF_TrustedCA */
63 static int hf_pkinit_trustedCertifiers_item = -1; /* TrustedCA */
64 static int hf_pkinit_kdcCert = -1; /* IssuerAndSerialNumber */
65 static int hf_pkinit_caName = -1; /* Name */
66 static int hf_pkinit_issuerAndSerial = -1; /* IssuerAndSerialNumber */
67 static int hf_pkinit_pkAuthenticator = -1; /* PKAuthenticator */
68 static int hf_pkinit_clientPublicValue = -1; /* SubjectPublicKeyInfo */
69 static int hf_pkinit_supportedCMSTypes = -1; /* SEQUNCE_OF_AlgorithmIdentifier */
70 static int hf_pkinit_supportedCMSTypes_item = -1; /* AlgorithmIdentifier */
71 static int hf_pkinit_cusec = -1; /* INTEGER */
72 static int hf_pkinit_ctime = -1; /* KerberosTime */
73 static int hf_pkinit_paNonce = -1; /* INTEGER_0_4294967295 */
74 static int hf_pkinit_paChecksum = -1; /* Checksum */
75 static int hf_pkinit_dhSignedData = -1; /* ContentInfo */
76 static int hf_pkinit_encKeyPack = -1; /* ContentInfo */
77 static int hf_pkinit_subjectPublicKey = -1; /* BIT_STRING */
78 static int hf_pkinit_dhNonce = -1; /* INTEGER */
79 static int hf_pkinit_dhKeyExpiration = -1; /* KerberosTime */
81 /*--- End of included file: packet-pkinit-hf.c ---*/
84 /* Initialize the subtree pointers */
86 /*--- Included file: packet-pkinit-ett.c ---*/
88 static gint ett_pkinit_PaPkAsReq = -1;
89 static gint ett_pkinit_SEQUNCE_OF_TrustedCA = -1;
90 static gint ett_pkinit_TrustedCA = -1;
91 static gint ett_pkinit_AuthPack = -1;
92 static gint ett_pkinit_SEQUNCE_OF_AlgorithmIdentifier = -1;
93 static gint ett_pkinit_PKAuthenticator = -1;
94 static gint ett_pkinit_PaPkAsRep = -1;
95 static gint ett_pkinit_KDCDHKeyInfo = -1;
97 /*--- End of included file: packet-pkinit-ett.c ---*/
100 static int dissect_KerberosV5Spec2_KerberosTime(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index _U_);
101 static int dissect_KerberosV5Spec2_Checksum(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index _U_);
104 /*--- Included file: packet-pkinit-fn.c ---*/
106 /*--- Fields for imported types ---*/
108 static int dissect_signedAuthPack(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
109 return dissect_cms_ContentInfo(FALSE, tvb, offset, pinfo, tree, hf_pkinit_signedAuthPack);
111 static int dissect_kdcCert(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
112 return dissect_cms_IssuerAndSerialNumber(FALSE, tvb, offset, pinfo, tree, hf_pkinit_kdcCert);
114 static int dissect_caName(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
115 return dissect_pkix1explicit_Name(FALSE, tvb, offset, pinfo, tree, hf_pkinit_caName);
117 static int dissect_issuerAndSerial(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
118 return dissect_cms_IssuerAndSerialNumber(FALSE, tvb, offset, pinfo, tree, hf_pkinit_issuerAndSerial);
120 static int dissect_clientPublicValue(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
121 return dissect_pkix1explicit_SubjectPublicKeyInfo(FALSE, tvb, offset, pinfo, tree, hf_pkinit_clientPublicValue);
123 static int dissect_supportedCMSTypes_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
124 return dissect_pkix1explicit_AlgorithmIdentifier(FALSE, tvb, offset, pinfo, tree, hf_pkinit_supportedCMSTypes_item);
126 static int dissect_ctime(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
127 return dissect_KerberosV5Spec2_KerberosTime(FALSE, tvb, offset, pinfo, tree, hf_pkinit_ctime);
129 static int dissect_paChecksum(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
130 return dissect_KerberosV5Spec2_Checksum(FALSE, tvb, offset, pinfo, tree, hf_pkinit_paChecksum);
132 static int dissect_dhSignedData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
133 return dissect_cms_ContentInfo(FALSE, tvb, offset, pinfo, tree, hf_pkinit_dhSignedData);
135 static int dissect_encKeyPack(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
136 return dissect_cms_ContentInfo(FALSE, tvb, offset, pinfo, tree, hf_pkinit_encKeyPack);
138 static int dissect_dhKeyExpiration(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
139 return dissect_KerberosV5Spec2_KerberosTime(FALSE, tvb, offset, pinfo, tree, hf_pkinit_dhKeyExpiration);
143 static const value_string TrustedCA_vals[] = {
145 { 2, "issuerAndSerial" },
149 static const ber_choice TrustedCA_choice[] = {
150 { 0, BER_CLASS_CON, 0, 0, dissect_caName },
151 { 2, BER_CLASS_CON, 2, 0, dissect_issuerAndSerial },
156 dissect_pkinit_TrustedCA(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
157 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
158 TrustedCA_choice, hf_index, ett_pkinit_TrustedCA);
162 static int dissect_trustedCertifiers_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
163 return dissect_pkinit_TrustedCA(FALSE, tvb, offset, pinfo, tree, hf_pkinit_trustedCertifiers_item);
166 static const ber_sequence SEQUNCE_OF_TrustedCA_sequence_of[1] = {
167 { BER_CLASS_CON, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_trustedCertifiers_item },
171 dissect_pkinit_SEQUNCE_OF_TrustedCA(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
172 offset = dissect_ber_sequence_of(implicit_tag, pinfo, tree, tvb, offset,
173 SEQUNCE_OF_TrustedCA_sequence_of, hf_index, ett_pkinit_SEQUNCE_OF_TrustedCA);
177 static int dissect_trustedCertifiers(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
178 return dissect_pkinit_SEQUNCE_OF_TrustedCA(FALSE, tvb, offset, pinfo, tree, hf_pkinit_trustedCertifiers);
181 static const ber_sequence PaPkAsReq_sequence[] = {
182 { BER_CLASS_CON, 0, 0, dissect_signedAuthPack },
183 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_trustedCertifiers },
184 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_kdcCert },
189 dissect_pkinit_PaPkAsReq(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
190 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
191 PaPkAsReq_sequence, hf_index, ett_pkinit_PaPkAsReq);
199 dissect_pkinit_INTEGER(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
200 offset = dissect_ber_integer_new(implicit_tag, pinfo, tree, tvb, offset, hf_index, NULL);
204 static int dissect_cusec(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
205 return dissect_pkinit_INTEGER(FALSE, tvb, offset, pinfo, tree, hf_pkinit_cusec);
207 static int dissect_dhNonce(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
208 return dissect_pkinit_INTEGER(FALSE, tvb, offset, pinfo, tree, hf_pkinit_dhNonce);
214 dissect_pkinit_INTEGER_0_4294967295(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
215 offset = dissect_ber_integer_new(implicit_tag, pinfo, tree, tvb, offset, hf_index, NULL);
219 static int dissect_paNonce(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
220 return dissect_pkinit_INTEGER_0_4294967295(FALSE, tvb, offset, pinfo, tree, hf_pkinit_paNonce);
223 static const ber_sequence PKAuthenticator_sequence[] = {
224 { BER_CLASS_CON, 0, 0, dissect_cusec },
225 { BER_CLASS_CON, 1, 0, dissect_ctime },
226 { BER_CLASS_CON, 2, 0, dissect_paNonce },
227 { BER_CLASS_CON, 3, 0, dissect_paChecksum },
232 dissect_pkinit_PKAuthenticator(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
233 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
234 PKAuthenticator_sequence, hf_index, ett_pkinit_PKAuthenticator);
238 static int dissect_pkAuthenticator(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
239 return dissect_pkinit_PKAuthenticator(FALSE, tvb, offset, pinfo, tree, hf_pkinit_pkAuthenticator);
242 static const ber_sequence SEQUNCE_OF_AlgorithmIdentifier_sequence_of[1] = {
243 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_supportedCMSTypes_item },
247 dissect_pkinit_SEQUNCE_OF_AlgorithmIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
248 offset = dissect_ber_sequence_of(implicit_tag, pinfo, tree, tvb, offset,
249 SEQUNCE_OF_AlgorithmIdentifier_sequence_of, hf_index, ett_pkinit_SEQUNCE_OF_AlgorithmIdentifier);
253 static int dissect_supportedCMSTypes(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
254 return dissect_pkinit_SEQUNCE_OF_AlgorithmIdentifier(FALSE, tvb, offset, pinfo, tree, hf_pkinit_supportedCMSTypes);
257 static const ber_sequence AuthPack_sequence[] = {
258 { BER_CLASS_CON, 0, 0, dissect_pkAuthenticator },
259 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_clientPublicValue },
260 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_supportedCMSTypes },
265 dissect_pkinit_AuthPack(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
266 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
267 AuthPack_sequence, hf_index, ett_pkinit_AuthPack);
273 static const value_string PaPkAsRep_vals[] = {
274 { 0, "dhSignedData" },
279 static const ber_choice PaPkAsRep_choice[] = {
280 { 0, BER_CLASS_CON, 0, 0, dissect_dhSignedData },
281 { 1, BER_CLASS_CON, 1, 0, dissect_encKeyPack },
286 dissect_pkinit_PaPkAsRep(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
287 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
288 PaPkAsRep_choice, hf_index, ett_pkinit_PaPkAsRep);
295 dissect_pkinit_BIT_STRING(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
296 offset = dissect_ber_bitstring(implicit_tag, pinfo, tree, tvb, offset,
302 static int dissect_subjectPublicKey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
303 return dissect_pkinit_BIT_STRING(FALSE, tvb, offset, pinfo, tree, hf_pkinit_subjectPublicKey);
306 static const ber_sequence KDCDHKeyInfo_sequence[] = {
307 { BER_CLASS_CON, 0, 0, dissect_subjectPublicKey },
308 { BER_CLASS_CON, 1, 0, dissect_dhNonce },
309 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_dhKeyExpiration },
314 dissect_pkinit_KDCDHKeyInfo(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
315 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
316 KDCDHKeyInfo_sequence, hf_index, ett_pkinit_KDCDHKeyInfo);
323 static void dissect_AuthPack_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
324 dissect_pkinit_AuthPack(FALSE, tvb, 0, pinfo, tree, hf_pkinit_AuthPack_PDU);
326 static void dissect_KDCDHKeyInfo_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
327 dissect_pkinit_KDCDHKeyInfo(FALSE, tvb, 0, pinfo, tree, hf_pkinit_KDCDHKeyInfo_PDU);
331 /*--- End of included file: packet-pkinit-fn.c ---*/
335 dissect_pkinit_PA_PK_AS_REQ(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
336 offset = dissect_pkinit_PaPkAsReq(FALSE, tvb, offset, pinfo, tree, -1);
341 dissect_pkinit_PA_PK_AS_REP(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
342 offset = dissect_pkinit_PaPkAsRep(FALSE, tvb, offset, pinfo, tree, -1);
347 dissect_KerberosV5Spec2_KerberosTime(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index _U_) {
348 offset = dissect_krb5_ctime(pinfo, tree, tvb, offset);
353 dissect_KerberosV5Spec2_Checksum(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index _U_) {
354 offset = dissect_krb5_Checksum(pinfo, tree, tvb, offset);
359 /*--- proto_register_pkinit ----------------------------------------------*/
360 void proto_register_pkinit(void) {
363 static hf_register_info hf[] = {
365 /*--- Included file: packet-pkinit-hfarr.c ---*/
367 { &hf_pkinit_AuthPack_PDU,
368 { "AuthPack", "pkinit.AuthPack",
369 FT_NONE, BASE_NONE, NULL, 0,
370 "AuthPack", HFILL }},
371 { &hf_pkinit_KDCDHKeyInfo_PDU,
372 { "KDCDHKeyInfo", "pkinit.KDCDHKeyInfo",
373 FT_NONE, BASE_NONE, NULL, 0,
374 "KDCDHKeyInfo", HFILL }},
375 { &hf_pkinit_signedAuthPack,
376 { "signedAuthPack", "pkinit.signedAuthPack",
377 FT_NONE, BASE_NONE, NULL, 0,
378 "PaPkAsReq/signedAuthPack", HFILL }},
379 { &hf_pkinit_trustedCertifiers,
380 { "trustedCertifiers", "pkinit.trustedCertifiers",
381 FT_UINT32, BASE_DEC, NULL, 0,
382 "PaPkAsReq/trustedCertifiers", HFILL }},
383 { &hf_pkinit_trustedCertifiers_item,
384 { "Item", "pkinit.trustedCertifiers_item",
385 FT_UINT32, BASE_DEC, VALS(TrustedCA_vals), 0,
386 "PaPkAsReq/trustedCertifiers/_item", HFILL }},
387 { &hf_pkinit_kdcCert,
388 { "kdcCert", "pkinit.kdcCert",
389 FT_NONE, BASE_NONE, NULL, 0,
390 "PaPkAsReq/kdcCert", HFILL }},
392 { "caName", "pkinit.caName",
393 FT_UINT32, BASE_DEC, NULL, 0,
394 "TrustedCA/caName", HFILL }},
395 { &hf_pkinit_issuerAndSerial,
396 { "issuerAndSerial", "pkinit.issuerAndSerial",
397 FT_NONE, BASE_NONE, NULL, 0,
398 "TrustedCA/issuerAndSerial", HFILL }},
399 { &hf_pkinit_pkAuthenticator,
400 { "pkAuthenticator", "pkinit.pkAuthenticator",
401 FT_NONE, BASE_NONE, NULL, 0,
402 "AuthPack/pkAuthenticator", HFILL }},
403 { &hf_pkinit_clientPublicValue,
404 { "clientPublicValue", "pkinit.clientPublicValue",
405 FT_NONE, BASE_NONE, NULL, 0,
406 "AuthPack/clientPublicValue", HFILL }},
407 { &hf_pkinit_supportedCMSTypes,
408 { "supportedCMSTypes", "pkinit.supportedCMSTypes",
409 FT_UINT32, BASE_DEC, NULL, 0,
410 "AuthPack/supportedCMSTypes", HFILL }},
411 { &hf_pkinit_supportedCMSTypes_item,
412 { "Item", "pkinit.supportedCMSTypes_item",
413 FT_NONE, BASE_NONE, NULL, 0,
414 "AuthPack/supportedCMSTypes/_item", HFILL }},
416 { "cusec", "pkinit.cusec",
417 FT_INT32, BASE_DEC, NULL, 0,
418 "PKAuthenticator/cusec", HFILL }},
420 { "ctime", "pkinit.ctime",
421 FT_NONE, BASE_NONE, NULL, 0,
422 "PKAuthenticator/ctime", HFILL }},
423 { &hf_pkinit_paNonce,
424 { "nonce", "pkinit.nonce",
425 FT_UINT32, BASE_DEC, NULL, 0,
426 "PKAuthenticator/nonce", HFILL }},
427 { &hf_pkinit_paChecksum,
428 { "paChecksum", "pkinit.paChecksum",
429 FT_NONE, BASE_NONE, NULL, 0,
430 "PKAuthenticator/paChecksum", HFILL }},
431 { &hf_pkinit_dhSignedData,
432 { "dhSignedData", "pkinit.dhSignedData",
433 FT_NONE, BASE_NONE, NULL, 0,
434 "PaPkAsRep/dhSignedData", HFILL }},
435 { &hf_pkinit_encKeyPack,
436 { "encKeyPack", "pkinit.encKeyPack",
437 FT_NONE, BASE_NONE, NULL, 0,
438 "PaPkAsRep/encKeyPack", HFILL }},
439 { &hf_pkinit_subjectPublicKey,
440 { "subjectPublicKey", "pkinit.subjectPublicKey",
441 FT_BYTES, BASE_HEX, NULL, 0,
442 "KDCDHKeyInfo/subjectPublicKey", HFILL }},
443 { &hf_pkinit_dhNonce,
444 { "nonce", "pkinit.nonce",
445 FT_INT32, BASE_DEC, NULL, 0,
446 "KDCDHKeyInfo/nonce", HFILL }},
447 { &hf_pkinit_dhKeyExpiration,
448 { "dhKeyExpiration", "pkinit.dhKeyExpiration",
449 FT_NONE, BASE_NONE, NULL, 0,
450 "KDCDHKeyInfo/dhKeyExpiration", HFILL }},
452 /*--- End of included file: packet-pkinit-hfarr.c ---*/
456 /* List of subtrees */
457 static gint *ett[] = {
459 /*--- Included file: packet-pkinit-ettarr.c ---*/
461 &ett_pkinit_PaPkAsReq,
462 &ett_pkinit_SEQUNCE_OF_TrustedCA,
463 &ett_pkinit_TrustedCA,
464 &ett_pkinit_AuthPack,
465 &ett_pkinit_SEQUNCE_OF_AlgorithmIdentifier,
466 &ett_pkinit_PKAuthenticator,
467 &ett_pkinit_PaPkAsRep,
468 &ett_pkinit_KDCDHKeyInfo,
470 /*--- End of included file: packet-pkinit-ettarr.c ---*/
474 /* Register protocol */
475 proto_pkinit = proto_register_protocol(PNAME, PSNAME, PFNAME);
477 /* Register fields and subtrees */
478 proto_register_field_array(proto_pkinit, hf, array_length(hf));
479 proto_register_subtree_array(ett, array_length(ett));
484 /*--- proto_reg_handoff_pkinit -------------------------------------------*/
485 void proto_reg_handoff_pkinit(void) {
487 /*--- Included file: packet-pkinit-dis-tab.c ---*/
489 register_ber_oid_dissector("1.3.6.1.5.2.3.1", dissect_AuthPack_PDU, proto_pkinit, "id-pkauthdata");
490 register_ber_oid_dissector("1.3.6.1.5.2.3.2", dissect_KDCDHKeyInfo_PDU, proto_pkinit, "id-pkdhkeydata");
493 /*--- End of included file: packet-pkinit-dis-tab.c ---*/