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
..
2024-04-25 11:07:20 +02:00
2024-09-05 09:35:49 +02:00
2024-04-09 13:43:27 +02:00
2024-09-05 09:35:49 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-04-09 13:43:26 +02:00
2024-04-09 13:43:26 +02:00
2023-12-12 16:12:32 +00:00
2023-09-28 14:23:29 +01:00
2024-04-09 13:43:26 +02:00
2023-09-28 14:23:29 +01:00
2022-09-20 08:18:25 +01:00
2022-05-03 13:34:51 +01:00
2024-12-11 18:27:54 +01:00
2009-09-06 15:49:46 +00:00
2023-09-28 14:23:29 +01:00
2020-05-13 06:28:36 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-04-09 13:43:26 +02:00
2023-09-07 09:59:15 +01:00
2019-09-28 20:26:36 +02:00
2024-09-05 09:35:49 +02:00