openssl/demos/cms
James Muir 83fc4bb3cb cms demos: print signingTime attributes
Add a makefile for the cms demos, and add a routine to cms_ver.c to
print any signingTime attributes from the CMS_ContentInfo object.
This provides an example that could be extended if an application
wants to examine the purported signing times.

Part of #8026

Testing:

  $ cd demos/cms
  $ make test

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>

(cherry picked from commit 9257a89b6f)

Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22728)
2023-11-16 14:46:25 +01:00
..
Makefile cms demos: print signingTime attributes 2023-11-16 14:46:25 +01:00
cacert.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
cakey.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
cms_comp.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
cms_ddec.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
cms_dec.c cms demos: print signingTime attributes 2023-11-16 14:46:25 +01:00
cms_denc.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
cms_enc.c cms demos: print signingTime attributes 2023-11-16 14:46:25 +01:00
cms_sign.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
cms_sign2.c cms demos: print signingTime attributes 2023-11-16 14:46:25 +01:00
cms_uncomp.c Fixup demo exit status magic numbers 2023-11-16 14:46:25 +01:00
cms_ver.c cms demos: print signingTime attributes 2023-11-16 14:46:25 +01:00
comp.txt CMS compressed data examples. 2008-04-11 17:33:29 +00:00
encr.txt PKCS#7 examples converted to CMS. 2008-04-11 16:52:45 +00:00
sign.txt PKCS#7 examples converted to CMS. 2008-04-11 16:52:45 +00:00
signer.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00
signer2.pem Update certificates in demos/bio, demos/cms, demos/smime 2018-06-15 09:10:30 +10:00