forked from osmocom/wireshark
3b770d5c7c
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501
56 lines
1.3 KiB
INI
56 lines
1.3 KiB
INI
# pkix1explicit.cnf
|
|
# pkix1explicit conformation file
|
|
|
|
# $Id$
|
|
|
|
#.MODULE_IMPORT
|
|
|
|
#.EXPORTS
|
|
AttributeTypeAndValue
|
|
CertificateSerialNumber
|
|
DirectoryString
|
|
Extension
|
|
Extensions
|
|
RelativeDistinguishedName
|
|
RDNSequence
|
|
TeletexDomainDefinedAttribute
|
|
TerminalType
|
|
|
|
#.REGISTER
|
|
DirectoryString B "1.3.6.1.5.5.7.2.1" "id-qt-cps"
|
|
DomainParameters B "1.2.840.10046.2.1" "dhpublicnumber"
|
|
|
|
#.PDU
|
|
|
|
#.NO_EMIT
|
|
|
|
#.TYPE_RENAME
|
|
|
|
#.FIELD_RENAME
|
|
|
|
#.FN_BODY DirectoryString
|
|
offset = dissect_ber_octet_string(implicit_tag, pinfo, tree, tvb, offset, hf_index, NULL);
|
|
|
|
#.FN_PARS AttributeTypeAndValue/value
|
|
FN_VARIANT = _str HF_INDEX = hf_pkix1explicit_object_identifier_id VAL_PTR = &object_identifier_id
|
|
|
|
#.FN_BODY AttributeTypeAndValue/value
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
|
|
|
|
#.FN_PARS Extension/extnId
|
|
FN_VARIANT = _str HF_INDEX = hf_pkix1explicit_object_identifier_id VAL_PTR = &object_identifier_id
|
|
|
|
#.FN_BODY Extension/extnValue
|
|
gint8 class;
|
|
gboolean pc, ind;
|
|
gint32 tag;
|
|
guint32 len;
|
|
/* skip past the T and L */
|
|
offset = dissect_ber_identifier(pinfo, tree, tvb, offset, &class, &pc, &tag);
|
|
offset = dissect_ber_length(pinfo, tree, tvb, offset, &len, &ind);
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
|
|
|
|
|
|
#.END
|
|
|