postgresql/src/include/libpq
Daniel Gustafsson 6acb0a628e Add notBefore and notAfter to SSL cert info display
This adds the X509 attributes notBefore and notAfter to sslinfo
as well as pg_stat_ssl to allow verifying and identifying the
validity period of the current client certificate. OpenSSL has
APIs for extracting notAfter and notBefore, but they are only
supported in recent versions so we have to calculate the dates
by hand in order to make this work for the older versions of
OpenSSL that we still support.

Original patch by Cary Huang with additional hacking by Jacob
and myself.

Author: Cary Huang <cary.huang@highgo.ca>
Co-author: Jacob Champion <jacob.champion@enterprisedb.com>
Co-author: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/182b8565486.10af1a86f158715.2387262617218380588@highgo.ca
2024-03-22 21:25:25 +01:00
..
auth.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
be-fsstubs.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
be-gssapi-common.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
crypt.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
hba.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
ifaddr.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq-be-fe-helpers.h Make dblink interruptible, via new libpqsrv APIs. 2024-01-08 11:39:56 -08:00
libpq-be.h Add notBefore and notAfter to SSL cert info display 2024-03-22 21:25:25 +01:00
libpq-fs.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq.h Move initialization of the Port struct to the child process 2024-03-12 13:42:38 +02:00
pqcomm.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
pqformat.h Remove unused 'countincludesself' argument to pq_sendcountedtext() 2024-03-04 12:56:05 +02:00
pqmq.h Replace BackendIds with 0-based ProcNumbers 2024-03-03 19:38:22 +02:00
pqsignal.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
protocol.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
sasl.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
scram.h Update copyright for 2024 2024-01-03 20:49:05 -05:00