PKCS#7: Support CMS messages also [RFC5652]
authorDavid Howells <dhowells@redhat.com>
Mon, 20 Jul 2015 20:16:33 +0000 (21:16 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 12 Aug 2015 16:01:01 +0000 (17:01 +0100)
commit60d65cacd7c2d84a6dcad69bcb57bbf0220c8643
tree636bda3cc9024a04edf1ae5780266fde743e7b1e
parenta4c6e57f4f5fa65cbdb8cc1c14ff5ca7c56766c3
PKCS#7: Support CMS messages also [RFC5652]

Since CMS is an evolution of PKCS#7, with much of the ASN.1 being
compatible, add support for CMS signed-data messages also [RFC5652 sec 5].

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-By: David Woodhouse <David.Woodhouse@intel.com>
crypto/asymmetric_keys/pkcs7.asn1
crypto/asymmetric_keys/pkcs7_parser.c
crypto/asymmetric_keys/pkcs7_parser.h