server_classes::My_SSL_Server Class Reference

List of all members.

Public Member Functions

def __init__
def start_server
def init_context

Detailed Description

provide functions for the server class

Definition at line 63 of file server_classes.py.


Member Function Documentation

def server_classes::My_SSL_Server::__init__   self,
  server_cert,
  ca_cert,
  verbose
 

Constructor

Definition at line 66 of file server_classes.py.

def server_classes::My_SSL_Server::init_context   self,
  protocol,
  verbose,
  certfile,
  cafile,
  verify,
  verify_depth = 10
 

This function is used to generate the SSL context:
- verify_depth -> chain depth

Definition at line 90 of file server_classes.py.

def server_classes::My_SSL_Server::start_server   self,
  address,
  port,
  xmlrpcserver = SimpleSSLXMLRPCServer
 

Start the actual server using SSL:

sslv23 -> compatibility mode, can handle any of the three SSL/TLS protocol versions
server.pem -> server certificate including server RSA private key
ca.pem -> root certificate
SSL.verify_none -> no request that the client has to send his certificate as well

Definition at line 74 of file server_classes.py.


The documentation for this class was generated from the following file:
Generated on Sun Mar 5 18:06:11 2006 for Server by  doxygen 1.4.6-NO