openssl/crypto/cms
Peter Juhasz 34ea176abf Add CMS_NO_SIGNING_TIME flag to CMS_sign(), CMS_add1_signer()
Previously there was no way to create a CMS SignedData signature without a
signing time attribute, because CMS_SignerInfo_sign added it unconditionally.
However, there is a use case (PAdES signatures) where this attribute is not
allowed, so this commit introduces a new flag to the CMS API that causes this
attribute to be omitted at signing time.

Also add -no_signing_time option to cms command.

Fixes #15777

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15783)
2024-12-26 19:33:42 +01:00
..
build.info
cms_asn1.c Copyright year updates 2024-09-05 09:35:49 +02:00
cms_att.c Copyright year updates 2024-04-09 13:43:26 +02:00
cms_cd.c
cms_dd.c
cms_dh.c dh_cms_set_peerkey(): Fix the incorrect condition 2024-12-11 18:03:34 +01:00
cms_ec.c Fix multiple wrong checks of EVP_PKEY_set1_encoded_public_key 2024-11-22 12:09:38 +01:00
cms_enc.c
cms_env.c Copyright year updates 2024-09-05 09:35:49 +02:00
cms_err.c
cms_ess.c
cms_io.c
cms_kari.c
cms_lib.c ossl_cms_get1_crls_ex(): Avoid doublefree if CRL up ref fails 2024-12-10 10:52:54 +01:00
cms_local.h Add CMS_NO_SIGNING_TIME flag to CMS_sign(), CMS_add1_signer() 2024-12-26 19:33:42 +01:00
cms_pwri.c Copyright year updates 2024-04-09 13:43:26 +02:00
cms_rsa.c Fix memleak in rsa_cms_sign error path 2024-09-05 17:04:59 +02:00
cms_sd.c Add CMS_NO_SIGNING_TIME flag to CMS_sign(), CMS_add1_signer() 2024-12-26 19:33:42 +01:00
cms_smime.c Revert the behavior change of CMS_get1_certs() and CMS_get1_crls() 2024-12-10 10:52:52 +01:00