eventlet.green.OpenSSL package¶
Submodules¶
eventlet.green.OpenSSL.SSL module¶
- eventlet.green.OpenSSL.SSL.Connection¶
alias of
GreenConnection
- eventlet.green.OpenSSL.SSL.ConnectionType¶
alias of
GreenConnection
- class eventlet.green.OpenSSL.SSL.GreenConnection(ctx, sock=None)¶
Bases:
GreenSocket
Nonblocking wrapper for SSL.Connection objects.
- do_handshake()¶
Perform an SSL handshake (usually called after renegotiate or one of set_accept_state or set_accept_state). This can raise the same exceptions as send and recv.
- dup()¶
- makefile(mode='r', bufsize=-1)¶
- read(size)¶
Works like a blocking call to SSL_read(), whose behavior is described here: http://www.openssl.org/docs/ssl/SSL_read.html
- recv(size)¶
Works like a blocking call to SSL_read(), whose behavior is described here: http://www.openssl.org/docs/ssl/SSL_read.html
- send(data)¶
Works like a blocking call to SSL_write(), whose behavior is described here: http://www.openssl.org/docs/ssl/SSL_write.html
- sendall(data)¶
Send “all” data on the connection. This calls send() repeatedly until all data is sent. If an error occurs, it’s impossible to tell how much data has been sent.
No return value.
- shutdown()¶
- write(data)¶
Works like a blocking call to SSL_write(), whose behavior is described here: http://www.openssl.org/docs/ssl/SSL_write.html
eventlet.green.OpenSSL.crypto module¶
eventlet.green.OpenSSL.tsafe module¶
eventlet.green.OpenSSL.version module¶
pyOpenSSL - A simple wrapper around the OpenSSL library