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

Class BuiltinSSLAdapter

source code

object --+    
         |    
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, client_CA=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_environ(self, sock)
Create WSGI environ entries to be merged into each request.
source code
 
makefile(self, sock, mode='r', bufsize=-1) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, certificate, private_key, certificate_chain=None, client_CA=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