2 # CMS conformation file
7 AuthenticationFramework x509af
8 InformationFramework x509if
10 #.INCLUDE ../x509af/x509af-exp.cnf
11 #.INCLUDE ../x509if/x509if-exp.cnf
17 DigestAlgorithmIdentifiers
18 EncapsulatedContentInfo
30 SignedData B "1.2.840.113549.1.7.2" "id-signedData"
31 EnvelopedData B "1.2.840.113549.1.7.3" "id-envelopedData"
32 DigestedData B "1.2.840.113549.1.7.5" "id-digestedData"
33 EncryptedData B "1.2.840.113549.1.7.6" "id-encryptedData"
34 AuthenticatedData B "1.2.840.113549.1.9.16.1.2" "id-ct-authenticatedData"
41 SignerInfo/signature signatureValue
42 RecipientEncryptedKey/rid rekRid
44 #.FN_BODY ContentInfo/contentType
45 offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
46 hf_cms_ci_contentType, object_identifier_id);
48 #.FN_BODY ContentInfo/content
49 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
51 #.FN_BODY EncapsulatedContentInfo/eContentType
52 offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
53 hf_cms_ci_contentType, object_identifier_id);
55 #.FN_BODY EncapsulatedContentInfo/eContent
59 int pdu_offset = offset;
61 /* XXX Do we care about printing out the octet string? */
62 offset = dissect_cms_OCTET_STRING(FALSE, tvb, offset, pinfo, tree, hf_cms_eContent);
64 pdu_offset = get_ber_identifier(tvb, pdu_offset, &class, &pc, &tag);
65 pdu_offset = get_ber_length(tree, tvb, pdu_offset, &len, &ind);
66 pdu_offset = call_ber_oid_callback(object_identifier_id, tvb, pdu_offset, pinfo, tree);
68 #.FN_BODY OtherKeyAttribute/keyAttrId
69 offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
70 hf_cms_ci_contentType, object_identifier_id);
72 #.FN_BODY OtherKeyAttribute/keyAttr
73 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);