2004-10-05 09:18:55 +00:00
|
|
|
# pkix1explicit.cnf
|
|
|
|
# pkix1explicit conformation file
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
#.MODULE_IMPORT
|
|
|
|
|
|
|
|
#.EXPORTS
|
2007-10-07 16:02:04 +00:00
|
|
|
Attribute
|
2004-11-29 08:43:19 +00:00
|
|
|
AttributeTypeAndValue
|
|
|
|
CertificateSerialNumber
|
|
|
|
DirectoryString
|
|
|
|
Extension
|
|
|
|
Extensions
|
|
|
|
RelativeDistinguishedName
|
|
|
|
RDNSequence
|
2004-10-05 09:18:55 +00:00
|
|
|
TeletexDomainDefinedAttribute
|
|
|
|
TerminalType
|
2007-10-07 16:02:04 +00:00
|
|
|
Version
|
|
|
|
Time
|
|
|
|
UniqueIdentifier
|
2004-10-05 09:18:55 +00:00
|
|
|
|
2004-11-01 18:11:48 +00:00
|
|
|
#.REGISTER
|
2008-02-25 22:17:24 +00:00
|
|
|
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"
|
2004-11-01 18:11:48 +00:00
|
|
|
|
2004-10-05 09:18:55 +00:00
|
|
|
#.PDU
|
|
|
|
|
|
|
|
#.NO_EMIT
|
|
|
|
|
|
|
|
#.TYPE_RENAME
|
|
|
|
|
|
|
|
#.FIELD_RENAME
|
|
|
|
|
2004-11-21 05:21:26 +00:00
|
|
|
#.FN_BODY DirectoryString
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
|
2004-11-21 05:21:26 +00:00
|
|
|
|
2007-10-07 16:02:04 +00:00
|
|
|
#.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);
|
|
|
|
|
2005-11-14 10:02:31 +00:00
|
|
|
#.FN_PARS AttributeTypeAndValue/value
|
|
|
|
FN_VARIANT = _str HF_INDEX = hf_pkix1explicit_object_identifier_id VAL_PTR = &object_identifier_id
|
2004-11-29 08:43:19 +00:00
|
|
|
|
|
|
|
#.FN_BODY AttributeTypeAndValue/value
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-29 08:43:19 +00:00
|
|
|
|
2005-11-14 10:02:31 +00:00
|
|
|
#.FN_PARS Extension/extnId
|
|
|
|
FN_VARIANT = _str HF_INDEX = hf_pkix1explicit_object_identifier_id VAL_PTR = &object_identifier_id
|
2004-11-29 08:43:19 +00:00
|
|
|
|
|
|
|
#.FN_BODY Extension/extnValue
|
2013-03-19 21:22:31 +00:00
|
|
|
gint8 appclass;
|
2004-11-29 08:43:19 +00:00
|
|
|
gboolean pc, ind;
|
2005-07-09 02:58:07 +00:00
|
|
|
gint32 tag;
|
2004-11-29 08:43:19 +00:00
|
|
|
guint32 len;
|
|
|
|
/* skip past the T and L */
|
2013-03-19 21:22:31 +00:00
|
|
|
offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &appclass, &pc, &tag);
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-29 08:43:19 +00:00
|
|
|
|
2008-02-27 16:13:57 +00:00
|
|
|
# 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);
|
2012-05-08 06:41:10 +00:00
|
|
|
proto_tree_add_item(subtree, hf_pkix1explicit_addressFamily_afn, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
|
2008-02-27 16:13:57 +00:00
|
|
|
if(tvb_length(parameter_tvb)>2)
|
2012-05-08 06:41:10 +00:00
|
|
|
proto_tree_add_item(subtree, hf_pkix1explicit_addressFamily_safi, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
|
2008-02-27 16:13:57 +00:00
|
|
|
|
2004-11-29 08:43:19 +00:00
|
|
|
|
2004-10-05 09:18:55 +00:00
|
|
|
#.END
|
|
|
|
|