1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3 /* packet-pkixqualified.c */
4 /* asn2wrs.py -b -q -L -p pkixqualified -c ./pkixqualified.cnf -s ./packet-pkixqualified-template -D . -O ../.. PKIXqualified.asn PKIXServiceNameSAN88.asn PKIXServiceNameSAN93.asn */
6 /* packet-pkixqualified.c
7 * Routines for RFC3739 PKIXqualified packet dissection
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * SPDX-License-Identifier: GPL-2.0-or-later
19 #include <epan/packet.h>
20 #include <epan/asn1.h>
21 #include <wsutil/array.h>
23 #include "packet-ber.h"
24 #include "packet-pkixqualified.h"
25 #include "packet-x509af.h"
26 #include "packet-x509ce.h"
27 #include "packet-x509sat.h"
29 #define PNAME "PKIX Qualified"
30 #define PSNAME "PKIXQUALIFIED"
31 #define PFNAME "pkixqualified"
33 void proto_register_pkixqualified(void);
34 void proto_reg_handoff_pkixqualified(void);
37 /* Initialize the protocol and registered fields */
38 static int proto_pkixqualified
;
39 static int hf_pkixqualified_Generalizedtime_PDU
; /* Generalizedtime */
40 static int hf_pkixqualified_Directorystring_PDU
; /* Directorystring */
41 static int hf_pkixqualified_Printablestring_PDU
; /* Printablestring */
42 static int hf_pkixqualified_BiometricSyntax_PDU
; /* BiometricSyntax */
43 static int hf_pkixqualified_QCStatements_PDU
; /* QCStatements */
44 static int hf_pkixqualified_SemanticsInformation_PDU
; /* SemanticsInformation */
45 static int hf_pkixqualified_XmppAddr_PDU
; /* XmppAddr */
46 static int hf_pkixqualified_SRVName_PDU
; /* SRVName */
47 static int hf_pkixqualified_BiometricSyntax_item
; /* BiometricData */
48 static int hf_pkixqualified_typeOfBiometricData
; /* TypeOfBiometricData */
49 static int hf_pkixqualified_hashAlgorithm
; /* AlgorithmIdentifier */
50 static int hf_pkixqualified_biometricDataHash
; /* OCTET_STRING */
51 static int hf_pkixqualified_sourceDataUri
; /* IA5String */
52 static int hf_pkixqualified_predefinedBiometricType
; /* PredefinedBiometricType */
53 static int hf_pkixqualified_biometricDataOid
; /* OBJECT_IDENTIFIER */
54 static int hf_pkixqualified_QCStatements_item
; /* QCStatement */
55 static int hf_pkixqualified_statementId
; /* T_statementId */
56 static int hf_pkixqualified_statementInfo
; /* T_statementInfo */
57 static int hf_pkixqualified_semanticsIdentifier
; /* OBJECT_IDENTIFIER */
58 static int hf_pkixqualified_nameRegistrationAuthorities
; /* NameRegistrationAuthorities */
59 static int hf_pkixqualified_NameRegistrationAuthorities_item
; /* GeneralName */
61 /* Initialize the subtree pointers */
62 static int ett_pkixqualified_BiometricSyntax
;
63 static int ett_pkixqualified_BiometricData
;
64 static int ett_pkixqualified_TypeOfBiometricData
;
65 static int ett_pkixqualified_QCStatements
;
66 static int ett_pkixqualified_QCStatement
;
67 static int ett_pkixqualified_SemanticsInformation
;
68 static int ett_pkixqualified_NameRegistrationAuthorities
;
70 static const char *object_identifier_id
;
75 dissect_pkixqualified_Generalizedtime(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
76 offset
= dissect_ber_GeneralizedTime(implicit_tag
, actx
, tree
, tvb
, offset
, hf_index
);
84 dissect_pkixqualified_Directorystring(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
85 offset
= dissect_x509sat_DirectoryString(implicit_tag
, tvb
, offset
, actx
, tree
, hf_index
);
93 dissect_pkixqualified_Printablestring(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
94 offset
= dissect_ber_restricted_string(implicit_tag
, BER_UNI_TAG_PrintableString
,
95 actx
, tree
, tvb
, offset
, hf_index
,
102 static const value_string pkixqualified_PredefinedBiometricType_vals
[] = {
104 { 1, "handwritten-signature" },
110 dissect_pkixqualified_PredefinedBiometricType(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
111 offset
= dissect_ber_integer(implicit_tag
, actx
, tree
, tvb
, offset
, hf_index
,
120 dissect_pkixqualified_OBJECT_IDENTIFIER(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
121 offset
= dissect_ber_object_identifier(implicit_tag
, actx
, tree
, tvb
, offset
, hf_index
, NULL
);
127 static const value_string pkixqualified_TypeOfBiometricData_vals
[] = {
128 { 0, "predefinedBiometricType" },
129 { 1, "biometricDataOid" },
133 static const ber_choice_t TypeOfBiometricData_choice
[] = {
134 { 0, &hf_pkixqualified_predefinedBiometricType
, BER_CLASS_UNI
, BER_UNI_TAG_INTEGER
, BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_PredefinedBiometricType
},
135 { 1, &hf_pkixqualified_biometricDataOid
, BER_CLASS_UNI
, BER_UNI_TAG_OID
, BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_OBJECT_IDENTIFIER
},
136 { 0, NULL
, 0, 0, 0, NULL
}
140 dissect_pkixqualified_TypeOfBiometricData(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
141 offset
= dissect_ber_choice(actx
, tree
, tvb
, offset
,
142 TypeOfBiometricData_choice
, hf_index
, ett_pkixqualified_TypeOfBiometricData
,
151 dissect_pkixqualified_OCTET_STRING(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
152 offset
= dissect_ber_octet_string(implicit_tag
, actx
, tree
, tvb
, offset
, hf_index
,
161 dissect_pkixqualified_IA5String(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
162 offset
= dissect_ber_restricted_string(implicit_tag
, BER_UNI_TAG_IA5String
,
163 actx
, tree
, tvb
, offset
, hf_index
,
170 static const ber_sequence_t BiometricData_sequence
[] = {
171 { &hf_pkixqualified_typeOfBiometricData
, BER_CLASS_ANY
/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG
|BER_FLAGS_NOTCHKTAG
, dissect_pkixqualified_TypeOfBiometricData
},
172 { &hf_pkixqualified_hashAlgorithm
, BER_CLASS_UNI
, BER_UNI_TAG_SEQUENCE
, BER_FLAGS_NOOWNTAG
, dissect_x509af_AlgorithmIdentifier
},
173 { &hf_pkixqualified_biometricDataHash
, BER_CLASS_UNI
, BER_UNI_TAG_OCTETSTRING
, BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_OCTET_STRING
},
174 { &hf_pkixqualified_sourceDataUri
, BER_CLASS_UNI
, BER_UNI_TAG_IA5String
, BER_FLAGS_OPTIONAL
|BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_IA5String
},
175 { NULL
, 0, 0, 0, NULL
}
179 dissect_pkixqualified_BiometricData(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
180 offset
= dissect_ber_sequence(implicit_tag
, actx
, tree
, tvb
, offset
,
181 BiometricData_sequence
, hf_index
, ett_pkixqualified_BiometricData
);
187 static const ber_sequence_t BiometricSyntax_sequence_of
[1] = {
188 { &hf_pkixqualified_BiometricSyntax_item
, BER_CLASS_UNI
, BER_UNI_TAG_SEQUENCE
, BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_BiometricData
},
192 dissect_pkixqualified_BiometricSyntax(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
193 offset
= dissect_ber_sequence_of(implicit_tag
, actx
, tree
, tvb
, offset
,
194 BiometricSyntax_sequence_of
, hf_index
, ett_pkixqualified_BiometricSyntax
);
202 dissect_pkixqualified_T_statementId(bool 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_object_identifier_str(implicit_tag
, actx
, tree
, tvb
, offset
, hf_pkixqualified_statementId
, &object_identifier_id
);
211 dissect_pkixqualified_T_statementInfo(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
212 offset
=call_ber_oid_callback(object_identifier_id
, tvb
, offset
, actx
->pinfo
, tree
, NULL
);
219 static const ber_sequence_t QCStatement_sequence
[] = {
220 { &hf_pkixqualified_statementId
, BER_CLASS_UNI
, BER_UNI_TAG_OID
, BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_T_statementId
},
221 { &hf_pkixqualified_statementInfo
, BER_CLASS_ANY
, 0, BER_FLAGS_OPTIONAL
|BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_T_statementInfo
},
222 { NULL
, 0, 0, 0, NULL
}
226 dissect_pkixqualified_QCStatement(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
227 object_identifier_id
= NULL
;
229 offset
= dissect_ber_sequence(implicit_tag
, actx
, tree
, tvb
, offset
,
230 QCStatement_sequence
, hf_index
, ett_pkixqualified_QCStatement
);
236 static const ber_sequence_t QCStatements_sequence_of
[1] = {
237 { &hf_pkixqualified_QCStatements_item
, BER_CLASS_UNI
, BER_UNI_TAG_SEQUENCE
, BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_QCStatement
},
241 dissect_pkixqualified_QCStatements(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
242 offset
= dissect_ber_sequence_of(implicit_tag
, actx
, tree
, tvb
, offset
,
243 QCStatements_sequence_of
, hf_index
, ett_pkixqualified_QCStatements
);
249 static const ber_sequence_t NameRegistrationAuthorities_sequence_of
[1] = {
250 { &hf_pkixqualified_NameRegistrationAuthorities_item
, BER_CLASS_ANY
/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG
, dissect_x509ce_GeneralName
},
254 dissect_pkixqualified_NameRegistrationAuthorities(bool 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_sequence_of(implicit_tag
, actx
, tree
, tvb
, offset
,
256 NameRegistrationAuthorities_sequence_of
, hf_index
, ett_pkixqualified_NameRegistrationAuthorities
);
262 static const ber_sequence_t SemanticsInformation_sequence
[] = {
263 { &hf_pkixqualified_semanticsIdentifier
, BER_CLASS_UNI
, BER_UNI_TAG_OID
, BER_FLAGS_OPTIONAL
|BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_OBJECT_IDENTIFIER
},
264 { &hf_pkixqualified_nameRegistrationAuthorities
, BER_CLASS_UNI
, BER_UNI_TAG_SEQUENCE
, BER_FLAGS_OPTIONAL
|BER_FLAGS_NOOWNTAG
, dissect_pkixqualified_NameRegistrationAuthorities
},
265 { NULL
, 0, 0, 0, NULL
}
269 dissect_pkixqualified_SemanticsInformation(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
270 offset
= dissect_ber_sequence(implicit_tag
, actx
, tree
, tvb
, offset
,
271 SemanticsInformation_sequence
, hf_index
, ett_pkixqualified_SemanticsInformation
);
279 dissect_pkixqualified_XmppAddr(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
280 offset
= dissect_ber_restricted_string(implicit_tag
, BER_UNI_TAG_UTF8String
,
281 actx
, tree
, tvb
, offset
, hf_index
,
290 dissect_pkixqualified_SRVName(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
291 offset
= dissect_ber_restricted_string(implicit_tag
, BER_UNI_TAG_IA5String
,
292 actx
, tree
, tvb
, offset
, hf_index
,
300 static int dissect_Generalizedtime_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
303 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_BER
, true, pinfo
);
304 offset
= dissect_pkixqualified_Generalizedtime(false, tvb
, offset
, &asn1_ctx
, tree
, hf_pkixqualified_Generalizedtime_PDU
);
307 static int dissect_Directorystring_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
310 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_BER
, true, pinfo
);
311 offset
= dissect_pkixqualified_Directorystring(false, tvb
, offset
, &asn1_ctx
, tree
, hf_pkixqualified_Directorystring_PDU
);
314 static int dissect_Printablestring_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
317 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_BER
, true, pinfo
);
318 offset
= dissect_pkixqualified_Printablestring(false, tvb
, offset
, &asn1_ctx
, tree
, hf_pkixqualified_Printablestring_PDU
);
321 static int dissect_BiometricSyntax_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
324 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_BER
, true, pinfo
);
325 offset
= dissect_pkixqualified_BiometricSyntax(false, tvb
, offset
, &asn1_ctx
, tree
, hf_pkixqualified_BiometricSyntax_PDU
);
328 static int dissect_QCStatements_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
331 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_BER
, true, pinfo
);
332 offset
= dissect_pkixqualified_QCStatements(false, tvb
, offset
, &asn1_ctx
, tree
, hf_pkixqualified_QCStatements_PDU
);
335 static int dissect_SemanticsInformation_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
338 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_BER
, true, pinfo
);
339 offset
= dissect_pkixqualified_SemanticsInformation(false, tvb
, offset
, &asn1_ctx
, tree
, hf_pkixqualified_SemanticsInformation_PDU
);
342 static int dissect_XmppAddr_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
345 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_BER
, true, pinfo
);
346 offset
= dissect_pkixqualified_XmppAddr(false, tvb
, offset
, &asn1_ctx
, tree
, hf_pkixqualified_XmppAddr_PDU
);
349 static int dissect_SRVName_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
352 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_BER
, true, pinfo
);
353 offset
= dissect_pkixqualified_SRVName(false, tvb
, offset
, &asn1_ctx
, tree
, hf_pkixqualified_SRVName_PDU
);
359 /*--- proto_register_pkixqualified ----------------------------------------------*/
360 void proto_register_pkixqualified(void) {
363 static hf_register_info hf
[] = {
364 { &hf_pkixqualified_Generalizedtime_PDU
,
365 { "Generalizedtime", "pkixqualified.Generalizedtime",
366 FT_ABSOLUTE_TIME
, ABSOLUTE_TIME_LOCAL
, NULL
, 0,
368 { &hf_pkixqualified_Directorystring_PDU
,
369 { "Directorystring", "pkixqualified.Directorystring",
370 FT_UINT32
, BASE_DEC
, VALS(x509sat_DirectoryString_vals
), 0,
372 { &hf_pkixqualified_Printablestring_PDU
,
373 { "Printablestring", "pkixqualified.Printablestring",
374 FT_STRING
, BASE_NONE
, NULL
, 0,
376 { &hf_pkixqualified_BiometricSyntax_PDU
,
377 { "BiometricSyntax", "pkixqualified.BiometricSyntax",
378 FT_UINT32
, BASE_DEC
, NULL
, 0,
380 { &hf_pkixqualified_QCStatements_PDU
,
381 { "QCStatements", "pkixqualified.QCStatements",
382 FT_UINT32
, BASE_DEC
, NULL
, 0,
384 { &hf_pkixqualified_SemanticsInformation_PDU
,
385 { "SemanticsInformation", "pkixqualified.SemanticsInformation_element",
386 FT_NONE
, BASE_NONE
, NULL
, 0,
388 { &hf_pkixqualified_XmppAddr_PDU
,
389 { "XmppAddr", "pkixqualified.XmppAddr",
390 FT_STRING
, BASE_NONE
, NULL
, 0,
392 { &hf_pkixqualified_SRVName_PDU
,
393 { "SRVName", "pkixqualified.SRVName",
394 FT_STRING
, BASE_NONE
, NULL
, 0,
396 { &hf_pkixqualified_BiometricSyntax_item
,
397 { "BiometricData", "pkixqualified.BiometricData_element",
398 FT_NONE
, BASE_NONE
, NULL
, 0,
400 { &hf_pkixqualified_typeOfBiometricData
,
401 { "typeOfBiometricData", "pkixqualified.typeOfBiometricData",
402 FT_UINT32
, BASE_DEC
, VALS(pkixqualified_TypeOfBiometricData_vals
), 0,
404 { &hf_pkixqualified_hashAlgorithm
,
405 { "hashAlgorithm", "pkixqualified.hashAlgorithm_element",
406 FT_NONE
, BASE_NONE
, NULL
, 0,
407 "AlgorithmIdentifier", HFILL
}},
408 { &hf_pkixqualified_biometricDataHash
,
409 { "biometricDataHash", "pkixqualified.biometricDataHash",
410 FT_BYTES
, BASE_NONE
, NULL
, 0,
411 "OCTET_STRING", HFILL
}},
412 { &hf_pkixqualified_sourceDataUri
,
413 { "sourceDataUri", "pkixqualified.sourceDataUri",
414 FT_STRING
, BASE_NONE
, NULL
, 0,
415 "IA5String", HFILL
}},
416 { &hf_pkixqualified_predefinedBiometricType
,
417 { "predefinedBiometricType", "pkixqualified.predefinedBiometricType",
418 FT_INT32
, BASE_DEC
, VALS(pkixqualified_PredefinedBiometricType_vals
), 0,
420 { &hf_pkixqualified_biometricDataOid
,
421 { "biometricDataOid", "pkixqualified.biometricDataOid",
422 FT_OID
, BASE_NONE
, NULL
, 0,
423 "OBJECT_IDENTIFIER", HFILL
}},
424 { &hf_pkixqualified_QCStatements_item
,
425 { "QCStatement", "pkixqualified.QCStatement_element",
426 FT_NONE
, BASE_NONE
, NULL
, 0,
428 { &hf_pkixqualified_statementId
,
429 { "statementId", "pkixqualified.statementId",
430 FT_OID
, BASE_NONE
, NULL
, 0,
432 { &hf_pkixqualified_statementInfo
,
433 { "statementInfo", "pkixqualified.statementInfo_element",
434 FT_NONE
, BASE_NONE
, NULL
, 0,
436 { &hf_pkixqualified_semanticsIdentifier
,
437 { "semanticsIdentifier", "pkixqualified.semanticsIdentifier",
438 FT_OID
, BASE_NONE
, NULL
, 0,
439 "OBJECT_IDENTIFIER", HFILL
}},
440 { &hf_pkixqualified_nameRegistrationAuthorities
,
441 { "nameRegistrationAuthorities", "pkixqualified.nameRegistrationAuthorities",
442 FT_UINT32
, BASE_DEC
, NULL
, 0,
444 { &hf_pkixqualified_NameRegistrationAuthorities_item
,
445 { "GeneralName", "pkixqualified.GeneralName",
446 FT_UINT32
, BASE_DEC
, VALS(x509ce_GeneralName_vals
), 0,
450 /* List of subtrees */
451 static int *ett
[] = {
452 &ett_pkixqualified_BiometricSyntax
,
453 &ett_pkixqualified_BiometricData
,
454 &ett_pkixqualified_TypeOfBiometricData
,
455 &ett_pkixqualified_QCStatements
,
456 &ett_pkixqualified_QCStatement
,
457 &ett_pkixqualified_SemanticsInformation
,
458 &ett_pkixqualified_NameRegistrationAuthorities
,
461 /* Register protocol */
462 proto_pkixqualified
= proto_register_protocol(PNAME
, PSNAME
, PFNAME
);
464 /* Register fields and subtrees */
465 proto_register_field_array(proto_pkixqualified
, hf
, array_length(hf
));
466 proto_register_subtree_array(ett
, array_length(ett
));
471 /*--- proto_reg_handoff_pkixqualified -------------------------------------------*/
472 void proto_reg_handoff_pkixqualified(void) {
473 register_ber_oid_dissector("1.3.6.1.5.5.7.1.2", dissect_BiometricSyntax_PDU
, proto_pkixqualified
, "id-pe-biometricInfo");
474 register_ber_oid_dissector("1.3.6.1.5.5.7.1.3", dissect_QCStatements_PDU
, proto_pkixqualified
, "id-pe-qcStatements");
475 register_ber_oid_dissector("1.3.6.1.5.5.7.11.1", dissect_SemanticsInformation_PDU
, proto_pkixqualified
, "id-qcs-pkixQCSyntax-v1");
476 register_ber_oid_dissector("1.3.6.1.5.5.7.11.2", dissect_SemanticsInformation_PDU
, proto_pkixqualified
, "id-qcs-pkixQCSyntax-v2");
477 register_ber_oid_dissector("1.3.6.1.5.5.7.8.5", dissect_XmppAddr_PDU
, proto_pkixqualified
, "id-on-xmppAddr");
478 register_ber_oid_dissector("1.3.6.1.5.5.7.9.1", dissect_Generalizedtime_PDU
, proto_pkixqualified
, "id-pda-dateOfBirth");
479 register_ber_oid_dissector("1.3.6.1.5.5.7.9.2", dissect_Directorystring_PDU
, proto_pkixqualified
, "id-pda-placeOfBirth");
480 register_ber_oid_dissector("1.3.6.1.5.5.7.9.3", dissect_Printablestring_PDU
, proto_pkixqualified
, "id-pda-gender");
481 register_ber_oid_dissector("1.3.6.1.5.5.7.9.4", dissect_Printablestring_PDU
, proto_pkixqualified
, "id-pda-countryOfCitizenship");
482 register_ber_oid_dissector("1.3.6.1.5.5.7.9.5", dissect_Printablestring_PDU
, proto_pkixqualified
, "id-pda-countryOfResidence");
483 register_ber_oid_dissector("1.3.6.1.5.5.7.8.7", dissect_SRVName_PDU
, proto_pkixqualified
, "id-on-dnsSRV");