diff options
author | Christian Heimes <christian@python.org> | 2021-04-26 13:01:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 13:01:40 (GMT) |
commit | 666991fc598bc312d72aff0078ecb553f0a968f1 (patch) | |
tree | 7fa615cd3d075120eb98cf4cea879a753c06e33f /Modules/faulthandler.c | |
parent | 3c586ca500854476e6eff06713236faff233d035 (diff) | |
download | cpython-666991fc598bc312d72aff0078ecb553f0a968f1.zip cpython-666991fc598bc312d72aff0078ecb553f0a968f1.tar.gz cpython-666991fc598bc312d72aff0078ecb553f0a968f1.tar.bz2 |
bpo-18233: Add internal methods to access peer chain (GH-25467)
The internal `_ssl._SSLSocket` object now provides methods to retrieve
the peer cert chain and verified cert chain as a list of Certificate
objects. Certificate objects have methods to convert the cert to a dict,
PEM, or DER (ASN.1).
These are private APIs for now. There is a slim chance to stabilize the
approach and provide a public API for 3.10. Otherwise I'll provide a
stable API in 3.11.
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Modules/faulthandler.c')
0 files changed, 0 insertions, 0 deletions