Package web2py :: Package gluon :: Module wsgiserver :: Class pyOpenSSLAdapter
[hide private]
[frames] | no frames]

Class pyOpenSSLAdapter

source code

object --+    
         |    
SSLAdapter --+
             |
            pyOpenSSLAdapter

A wrapper for integrating pyOpenSSL with CherryPy.

Instance Methods [hide private]
 
__init__(self, certificate, private_key, certificate_chain=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
bind(self, sock)
Wrap and return the given socket.
source code
 
wrap(self, sock)
Wrap and return the given socket, plus WSGI environ entries.
source code
 
get_context(self)
Return an SSL.Context from self attributes.
source code
 
get_environ(self)
Return WSGI environ entries to be merged into each request.
source code
 
makefile(self, sock, mode='r', bufsize=-1) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, certificate, private_key, certificate_chain=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

wrap(self, sock)

source code 

Wrap and return the given socket, plus WSGI environ entries.

Overrides: SSLAdapter.wrap

makefile(self, sock, mode='r', bufsize=-1)

source code 
Overrides: SSLAdapter.makefile