diff options
| author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2014-03-29 18:09:40 -0400 |
|---|---|---|
| committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2014-03-29 18:09:40 -0400 |
| commit | dbd76271031f30e6bcd9addb6fdf2cd6fc70e61a (patch) | |
| tree | 0d59a6a5ec10038bc8f80dfb34282cf54542a8d4 /OpenSSL/SSL.py | |
| parent | b1719a9d191eae3803b36c5464ebe72d57ae4fad (diff) | |
| download | pyopenssl-dbd76271031f30e6bcd9addb6fdf2cd6fc70e61a.tar.gz | |
whitespace: three blank lines between top-level suites, two blank lines between indented suites
Diffstat (limited to 'OpenSSL/SSL.py')
| -rw-r--r-- | OpenSSL/SSL.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py index 7e2066c..9a3151d 100644 --- a/OpenSSL/SSL.py +++ b/OpenSSL/SSL.py @@ -1417,6 +1417,7 @@ class Connection(object): if not result: _raise_current_error() + def get_cipher_name(self): """ Obtain the name of the currently used cipher. @@ -1429,6 +1430,7 @@ class Connection(object): else: return _native(_ffi.string(_lib.SSL_CIPHER_get_name(cipher))) + def get_cipher_bits(self): """ Obtain the number of secret bits of the currently used cipher. @@ -1441,6 +1443,7 @@ class Connection(object): else: return _lib.SSL_CIPHER_get_bits(cipher, _ffi.NULL) + def get_cipher_version(self): """ Obtain the protocol name of the currently used cipher. |
