Nim/lib/wrappers
Christian Ulrich 0ac9c7bb64
introduce getPeerCertificates, fixes #13299 (#13650)
* make i2d_X509 and d2i_X509 always available

i2d_X509 and d2i_X509 have been available in all versions of OpenSSL, so
make them available even if nimDisableCertificateValidation is set.

* introduce getPeerCertificates, fixes #13299

getPeerCertificates retrieves the verified certificate chain of the peer
we are connected to through an SSL-wrapped Socket/AsyncSocket. This
introduces the new type Certificate which stores a DER-encoded X509 certificate.
2020-03-22 21:00:37 +01:00
..
linenoise [backport] Fix spelling typos (#12755) 2019-11-28 08:30:55 +01:00
iup.nim fix several typos in documentation and comments (#12553) 2019-10-30 09:08:45 +01:00
mysql.nim fix several typos in documentation and comments (#12553) 2019-10-30 09:08:45 +01:00
odbcsql.nim minor style changes 2019-07-11 00:28:20 +02:00
openssl.nim introduce getPeerCertificates, fixes #13299 (#13650) 2020-03-22 21:00:37 +01:00
pcre.nim [backport] fix #12278, don't expose internal PCRE documentation 2019-09-27 10:13:04 +02:00
postgres.nim add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword (#13060) 2020-01-07 10:52:02 +01:00
sqlite3.nim adding sqlite3 backup functions (#13346) 2020-02-07 01:11:05 -05:00
tinyc.nim minor style changes 2019-07-11 00:28:20 +02:00