diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2018-02-06 13:11:03 +0100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-02-06 20:11:03 +0800 |
commit | a36579b6e4086ded4c20578bbfbfae083d5e6bce (patch) | |
tree | 0e286365ce40b821461f0b55c2537df4611c382d /src/_cffi_src/openssl/bignum.py | |
parent | b71d5f5c5545a537956025e46472b15d0f52e9e7 (diff) | |
download | cryptography-a36579b6e4086ded4c20578bbfbfae083d5e6bce.tar.gz cryptography-a36579b6e4086ded4c20578bbfbfae083d5e6bce.tar.bz2 cryptography-a36579b6e4086ded4c20578bbfbfae083d5e6bce.zip |
Add binding for SSL_get_certificate (#4100)
Currently we only expose SSL_get_peer_certificate, which allows you
to retrieve the remote party's certificate. This adds the symetrical
binding to retrieve the local party's certificate.
The motivation for this additional binding is to make it possible to
query the local certificate regardless of the method which was used to
load the certificate into the SSL connection (from a file, from an
in-memory object). An example where this is useful is when negotiating
a DTLS-SRTP connection, the fingerprint of the local certificate needs
to be communicated to the remote party out-of-band via SDP.
This binding can be exposed in pyopenssl as Connection.get_certificate().
Diffstat (limited to 'src/_cffi_src/openssl/bignum.py')
0 files changed, 0 insertions, 0 deletions