openssl/apps/include
Stephan Wurm 8120223773 apps: ca,req,x509: Add explicit start and end dates options
- Added options `-not_before` (start date) and `-not-after` (end date)
  for explicit setting of the validity period of a certificate in the
  apps `ca`, `req` and `x509`
- The new options accept time strings or "today"
- In app `ca`, use the new options as aliases of the already existing
  options `-startdate` and `-enddate`
- When used in apps `req` and `x509`, the end date must be >= the start
  date, in app `ca` end date < start date is also accepted
- In any case, `-not-after` overrides the `-days` option
- Added helper function `check_cert_time_string` to validate given
  certificate time strings
- Use the new helper function in apps `ca`, `req` and `x509`
- Moved redundant code for time string checking into `set_cert_times`
  helper function.
- Added tests for explicit start and end dates in apps `req` and `x509`
- test: Added auxiliary functions for parsing fields from `-text`
  formatted output to `tconversion.pl`
- CHANGES: Added to new section 3.4

Signed-off-by: Stephan Wurm <atomisirsi@gsklan.de>

Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21716)
2024-04-09 20:13:31 +02:00
..
__DECC_INCLUDE_EPILOGUE.H Update copyright year 2021-06-17 13:24:59 +01:00
__DECC_INCLUDE_PROLOGUE.H Update copyright year 2021-06-17 13:24:59 +01:00
app_libctx.h apps: move global libctx and property query into their own file 2021-06-15 18:26:47 +10:00
app_params.h Update copyright year 2020-10-15 14:10:06 +01:00
apps.h apps: ca,req,x509: Add explicit start and end dates options 2024-04-09 20:13:31 +02:00
apps_ui.h APPS: Make it possible for apps to set the base (fallback) UI_METHOD 2020-11-26 17:04:21 +01:00
cmp_mock_srv.h Copyright year updates 2023-09-07 09:59:15 +01:00
ec_common.h Update copyright year 2021-01-28 13:54:57 +01:00
engine_loader.h Fix copyrights 2022-02-03 13:56:38 +01:00
fmt.h Update copyright year 2021-05-06 13:03:23 +01:00
function.h Add deprecation macro for 3.1 and deprecate OPENSSL_LH_stats 2022-06-22 09:36:14 +02:00
http_server.h apps/lib/http_server.{c,h}: clean up logging and move it to log.{c,h} 2022-09-07 23:04:25 +02:00
log.h apps/lib/http_server.{c,h}: clean up logging and move it to log.{c,h} 2022-09-07 23:04:25 +02:00
names.h
opt.h Add option `SSL_OP_PREFER_NO_DHE_KEX`, allowing the server to prefer non-dhe psk key exchange over psk with dhe (config file option `PreferNoDHEKEX`, server option `prefer_no_dhe_kex`). 2023-11-24 15:08:04 +00:00
platform.h
s_apps.h Copyright year updates 2023-09-07 09:59:15 +01:00
vms_term_sock.h