Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Private Attributes
ssl.SSLContext Class Reference
Inheritance diagram for ssl.SSLContext:
Inheritance graph
Collaboration diagram for ssl.SSLContext:
Collaboration graph

List of all members.

Public Member Functions

def __new__
def __init__
def wrap_socket

Public Attributes


Static Private Attributes

tuple __slots__ = ('protocol',)

Detailed Description

An SSLContext holds various SSL-related configuration options and
data, such as certificates and possibly a private key.

Definition at line 161 of file

Constructor & Destructor Documentation

def ssl.SSLContext.__init__ (   self,

Definition at line 170 of file

00171     def __init__(self, protocol):
00172         self.protocol = protocol

Here is the caller graph for this function:

Member Function Documentation

def ssl.SSLContext.__new__ (   cls,

Definition at line 167 of file

00168     def __new__(cls, protocol, *args, **kwargs):
00169         return _SSLContext.__new__(cls, protocol)

def ssl.SSLContext.wrap_socket (   self,
  server_side = False,
  do_handshake_on_connect = True,
  suppress_ragged_eofs = True,
  server_hostname = None 

Definition at line 176 of file

00177                     server_hostname=None):
00178         return SSLSocket(sock=sock, server_side=server_side,
00179                          do_handshake_on_connect=do_handshake_on_connect,
00180                          suppress_ragged_eofs=suppress_ragged_eofs,
00181                          server_hostname=server_hostname,
00182                          _context=self)

Member Data Documentation

tuple ssl.SSLContext.__slots__ = ('protocol',) [static, private]

Definition at line 165 of file

Definition at line 171 of file

The documentation for this class was generated from the following file: