Package cherrypy :: Package wsgiserver :: Module ssl_builtin :: Class BuiltinSSLAdapter
[hide private]
[frames] | no frames]

Class BuiltinSSLAdapter

source code

            object --+    
                     |    
wsgiserver2.SSLAdapter --+
                         |
                        BuiltinSSLAdapter

A wrapper for integrating Python's builtin ssl module with CherryPy.

Instance Methods [hide private]
 
__init__(self, certificate, private_key, certificate_chain=None)
x.__init__(...) initializes x; see help(type(x)) 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_environ(self, sock)
Create WSGI environ entries to be merged into each request.
source code
 
makefile(self, sock, mode='r', bufsize=8192) source code

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

Class Variables [hide private]
  certificate = None
The filename of the server SSL certificate.
  private_key = None
The filename of the server's private key file.
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 help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

wrap(self, sock)

source code 

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

Overrides: wsgiserver2.SSLAdapter.wrap

makefile(self, sock, mode='r', bufsize=8192)

source code 
Overrides: wsgiserver2.SSLAdapter.makefile