[openssl/openssl] 7dc833: cms demos: print signingTime attributes

James Muir noreply at github.com
Tue Nov 14 07:25:05 UTC 2023


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 7dc833c2f659dfcd7ea4af951f045f93a0dbe30c
      https://github.com/openssl/openssl/commit/7dc833c2f659dfcd7ea4af951f045f93a0dbe30c
  Author: James Muir <james at openssl.org>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    A demos/cms/Makefile
    M demos/cms/cms_dec.c
    M demos/cms/cms_enc.c
    M demos/cms/cms_sign2.c
    M demos/cms/cms_ver.c

  Log Message:
  -----------
  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 at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22618)

(cherry picked from commit 9257a89b6f25dfa5aeee7114baec8ea992fcf5e5)




More information about the openssl-commits mailing list