aboutsummaryrefslogtreecommitdiffstats
path: root/docs/cryptography-docs.py
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2018-02-06 13:11:03 +0100
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-02-06 20:11:03 +0800
commita36579b6e4086ded4c20578bbfbfae083d5e6bce (patch)
tree0e286365ce40b821461f0b55c2537df4611c382d /docs/cryptography-docs.py
parentb71d5f5c5545a537956025e46472b15d0f52e9e7 (diff)
downloadcryptography-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 'docs/cryptography-docs.py')
0 files changed, 0 insertions, 0 deletions