2004-10-05 09:18:55 +00:00
|
|
|
# pkix1explicit.cnf
|
|
|
|
# pkix1explicit conformation file
|
|
|
|
|
|
|
|
#.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
|
|
|
|
2015-12-10 02:50:10 +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
|
|
|
|
2015-12-10 02:50:10 +00:00
|
|
|
#.PDU
|
2004-10-05 09:18:55 +00:00
|
|
|
|
|
|
|
#.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
|
2015-01-04 18:22:05 +00:00
|
|
|
FN_VARIANT = _str HF_INDEX = hf_pkix1explicit_object_identifier_id
|
2007-10-07 16:02:04 +00:00
|
|
|
|
|
|
|
#.FN_BODY Attribute/values/_item
|
2015-01-04 18:22:05 +00:00
|
|
|
if (actx->external.direct_ref_present) {
|
|
|
|
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
|
|
|
|
}
|
2007-10-07 16:02:04 +00:00
|
|
|
|
2005-11-14 10:02:31 +00:00
|
|
|
#.FN_PARS AttributeTypeAndValue/value
|
2015-01-04 18:22:05 +00:00
|
|
|
FN_VARIANT = _str HF_INDEX = hf_pkix1explicit_object_identifier_id
|
2004-11-29 08:43:19 +00:00
|
|
|
|
|
|
|
#.FN_BODY AttributeTypeAndValue/value
|
2015-01-04 18:22:05 +00:00
|
|
|
if (actx->external.direct_ref_present) {
|
|
|
|
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
|
|
|
|
}
|
2004-11-29 08:43:19 +00:00
|
|
|
|
2005-11-14 10:02:31 +00:00
|
|
|
#.FN_PARS Extension/extnId
|
2015-01-04 18:22:05 +00:00
|
|
|
FN_VARIANT = _str HF_INDEX = hf_pkix1explicit_object_identifier_id VAL_PTR = &actx->external.direct_reference
|
|
|
|
|
|
|
|
#.FN_BODY Extension/extnId
|
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
|
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);
|
2015-01-04 18:22:05 +00:00
|
|
|
if (actx->external.direct_ref_present) {
|
|
|
|
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
|
|
|
|
}
|
2004-11-29 08:43:19 +00:00
|
|
|
|
2014-02-26 19:29:17 +00:00
|
|
|
# IPAddrAndASCertExtn
|
2008-02-27 16:13:57 +00:00
|
|
|
|
|
|
|
#.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);
|
2015-04-10 12:57:55 +00:00
|
|
|
if(tvb_reported_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
|
|
|
|
2016-10-21 08:10:06 +00:00
|
|
|
#.TYPE_ATTR
|
|
|
|
TeletexDomainDefinedAttribute/type DISPLAY = STR_UNICODE
|
|
|
|
|
|
|
|
#.TYPE_ATTR
|
|
|
|
TeletexDomainDefinedAttribute/value DISPLAY = STR_UNICODE
|
2004-11-29 08:43:19 +00:00
|
|
|
|
2004-10-05 09:18:55 +00:00
|
|
|
#.END
|
|
|
|
|