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