3a3c255a30
svn path=/trunk/; revision=24487
83 lines
2.2 KiB
INI
83 lines
2.2 KiB
INI
# pkix1explicit.cnf
|
|
# pkix1explicit conformation file
|
|
|
|
# $Id$
|
|
|
|
#.MODULE_IMPORT
|
|
|
|
#.EXPORTS
|
|
Attribute
|
|
AttributeTypeAndValue
|
|
CertificateSerialNumber
|
|
DirectoryString
|
|
Extension
|
|
Extensions
|
|
RelativeDistinguishedName
|
|
RDNSequence
|
|
TeletexDomainDefinedAttribute
|
|
TerminalType
|
|
Version
|
|
Time
|
|
UniqueIdentifier
|
|
|
|
#.REGISTER
|
|
DirectoryString B "1.3.6.1.5.5.7.2.1" "id-qt-cps"
|
|
DomainParameters B "1.2.840.10046.2.1" "dhpublicnumber"
|
|
IPAddrBlocks B "1.3.6.1.5.5.7.1.7" "id-pe-ipAddrBlocks"
|
|
ASIdentifiers B "1.3.6.1.5.5.7.1.8" "id-pe-autonomousSysIds"
|
|
|
|
#.PDU
|
|
|
|
#.NO_EMIT
|
|
|
|
#.TYPE_RENAME
|
|
|
|
#.FIELD_RENAME
|
|
|
|
#.FN_BODY DirectoryString
|
|
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
|
|
|
|
#.FN_PARS Attribute/values
|
|
FN_VARIANT = _str HF_INDEX = hf_pkix1explicit_object_identifier_id VAL_PTR = &object_identifier_id
|
|
|
|
#.FN_BODY Attribute/values/_item
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
|
|
|
#.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, actx->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(actx->pinfo, tree, tvb, offset, &class, &pc, &tag);
|
|
offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
|
|
|
# IPAddrAndASCertExtn
|
|
|
|
#.FN_BODY IPAddressFamily/addressFamily VAL_PTR = ¶meter_tvb
|
|
tvbuff_t *parameter_tvb;
|
|
proto_tree *subtree;
|
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
if (!parameter_tvb)
|
|
return offset;
|
|
subtree = proto_item_add_subtree(actx->created_item, ett_pkix1explicit_addressFamily);
|
|
proto_tree_add_item(subtree, hf_pkix1explicit_addressFamily_afn, parameter_tvb, 0, 2, FALSE);
|
|
if(tvb_length(parameter_tvb)>2)
|
|
proto_tree_add_item(subtree, hf_pkix1explicit_addressFamily_safi, parameter_tvb, 0, 2, FALSE);
|
|
|
|
|
|
#.END
|
|
|