_ssl
index
/usr/local/lib/python2.4/lib-dynload/_ssl.so
Module Docs

Implementation module for SSL socket operations.  See the socket module
for documentation.

 
Classes
       
__builtin__.object
socket.SSL
socket.error(exceptions.Exception)
socket.sslerror

 
SSLType = class SSL(__builtin__.object)
    

 
class sslerror(error)
    
Method resolution order:
sslerror
error
exceptions.Exception

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
Functions
       
RAND_add(...)
RAND_add(string, entropy)
 
Mix string into the OpenSSL PRNG state.  entropy (a float) is a lower
bound on the entropy contained in string.
RAND_egd(...)
RAND_egd(path) -> bytes
 
Queries the entropy gather daemon (EGD) on socket path.  Returns number
of bytes read.  Raises socket.sslerror if connection to EGD fails or
if it does provide enough data to seed PRNG.
RAND_status(...)
RAND_status() -> 0 or 1
 
Returns 1 if the OpenSSL PRNG has been seeded with enough data and 0 if not.
It is necessary to seed the PRNG with RAND_add() on some platforms before
using the ssl() function.
ssl(...)
ssl(socket, [keyfile, certfile]) -> sslobject

 
Data
        SSL_ERROR_EOF = 8
SSL_ERROR_INVALID_ERROR_CODE = 9
SSL_ERROR_SSL = 1
SSL_ERROR_SYSCALL = 5
SSL_ERROR_WANT_CONNECT = 7
SSL_ERROR_WANT_READ = 2
SSL_ERROR_WANT_WRITE = 3
SSL_ERROR_WANT_X509_LOOKUP = 4
SSL_ERROR_ZERO_RETURN = 6