2004-10-05 09:18:55 +00:00
|
|
|
# CMS.cnf
|
|
|
|
# CMS conformation file
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
#.MODULE_IMPORT
|
|
|
|
AuthenticationFramework x509af
|
|
|
|
InformationFramework x509if
|
|
|
|
|
2004-11-21 10:16:06 +00:00
|
|
|
#.INCLUDE ../x509af/x509af-exp.cnf
|
2004-11-21 08:22:21 +00:00
|
|
|
#.INCLUDE ../x509if/x509if-exp.cnf
|
2004-10-05 09:18:55 +00:00
|
|
|
|
|
|
|
#.EXPORTS
|
2004-10-29 12:11:42 +00:00
|
|
|
ContentInfo
|
|
|
|
EncapsulatedContentInfo
|
2004-10-05 09:18:55 +00:00
|
|
|
SignedData
|
|
|
|
Countersignature
|
|
|
|
IssuerAndSerialNumber
|
2004-10-29 12:11:42 +00:00
|
|
|
OtherKeyAttribute
|
2004-10-05 09:18:55 +00:00
|
|
|
|
2004-10-26 13:54:09 +00:00
|
|
|
#.REGISTER
|
|
|
|
SignedData B "1.2.840.113549.1.7.2" "id-signedData"
|
|
|
|
EnvelopedData B "1.2.840.113549.1.7.3" "id-envelopedData"
|
|
|
|
DigestedData B "1.2.840.113549.1.7.5" "id-digestedData"
|
|
|
|
EncryptedData B "1.2.840.113549.1.7.6" "id-encryptedData"
|
|
|
|
AuthenticatedData B "1.2.840.113549.1.9.16.1.2" "id-ct-authenticatedData"
|
|
|
|
|
2004-10-05 09:18:55 +00:00
|
|
|
#.NO_EMIT
|
|
|
|
|
|
|
|
#.TYPE_RENAME
|
|
|
|
|
|
|
|
#.FIELD_RENAME
|
2004-10-13 00:21:00 +00:00
|
|
|
SignerInfo/signature signatureValue
|
|
|
|
RecipientEncryptedKey/rid rekRid
|
2004-10-05 09:18:55 +00:00
|
|
|
|
2004-10-29 12:11:42 +00:00
|
|
|
#.FN_BODY ContentInfo/contentType
|
|
|
|
offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
|
|
|
|
hf_cms_ci_contentType, object_identifier_id);
|
|
|
|
|
|
|
|
#.FN_BODY ContentInfo/content
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
|
|
|
|
|
|
|
|
#.FN_BODY EncapsulatedContentInfo/eContentType
|
|
|
|
offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
|
|
|
|
hf_cms_ci_contentType, object_identifier_id);
|
|
|
|
|
|
|
|
#.FN_BODY EncapsulatedContentInfo/eContent
|
|
|
|
guint8 class;
|
|
|
|
gboolean pc, ind;
|
|
|
|
guint32 tag, len;
|
|
|
|
int pdu_offset = offset;
|
|
|
|
|
|
|
|
/* XXX Do we care about printing out the octet string? */
|
|
|
|
offset = dissect_cms_OCTET_STRING(FALSE, tvb, offset, pinfo, tree, hf_cms_eContent);
|
|
|
|
|
|
|
|
pdu_offset = get_ber_identifier(tvb, pdu_offset, &class, &pc, &tag);
|
|
|
|
pdu_offset = get_ber_length(tvb, pdu_offset, &len, &ind);
|
|
|
|
pdu_offset = call_ber_oid_callback(object_identifier_id, tvb, pdu_offset, pinfo, tree);
|
|
|
|
|
|
|
|
#.FN_BODY OtherKeyAttribute/keyAttrId
|
|
|
|
offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
|
|
|
|
hf_cms_ci_contentType, object_identifier_id);
|
|
|
|
|
|
|
|
#.FN_BODY OtherKeyAttribute/keyAttr
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
|
|
|
|
|
2004-10-05 09:18:55 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
|