Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Private Member Functions
imaplib.IMAP4_SSL Class Reference

List of all members.

Public Member Functions

def __init__
def open

Public Attributes

 keyfile
 certfile

Private Member Functions

def _create_socket

Detailed Description

IMAP4 client class over SSL connection

Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile]]]])

        host - host's name (default: localhost);
        port - port number (default: standard IMAP4 SSL port).
        keyfile - PEM formatted file that contains your private key (default: None);
        certfile - PEM formatted certificate chain file (default: None);

for more documentation see the docstring of the parent class IMAP4.

Definition at line 1176 of file imaplib.py.


Constructor & Destructor Documentation

def imaplib.IMAP4_SSL.__init__ (   self,
  host = '',
  port = IMAP4_SSL_PORT,
  keyfile = None,
  certfile = None 
)

Definition at line 1191 of file imaplib.py.

01191 
01192         def __init__(self, host = '', port = IMAP4_SSL_PORT, keyfile = None, certfile = None):
01193             self.keyfile = keyfile
01194             self.certfile = certfile
01195             IMAP4.__init__(self, host, port)

Here is the caller graph for this function:


Member Function Documentation

def imaplib.IMAP4_SSL._create_socket (   self) [private]

Definition at line 1196 of file imaplib.py.

01196 
01197         def _create_socket(self):
01198             sock = IMAP4._create_socket(self)
01199             return ssl.wrap_socket(sock, self.keyfile, self.certfile)

Here is the call graph for this function:

def imaplib.IMAP4_SSL.open (   self,
  host = '',
  port = IMAP4_SSL_PORT 
)
Setup connection to remote server on "host:port".
    (default: localhost:standard IMAP4 SSL port).
This connection will be used by the routines:
    read, readline, send, shutdown.

Definition at line 1200 of file imaplib.py.

01200 
01201         def open(self, host='', port=IMAP4_SSL_PORT):
01202             """Setup connection to remote server on "host:port".
01203                 (default: localhost:standard IMAP4 SSL port).
01204             This connection will be used by the routines:
01205                 read, readline, send, shutdown.
01206             """
01207             IMAP4.open(self, host, port)
01208 
    __all__.append("IMAP4_SSL")

Member Data Documentation

Definition at line 1193 of file imaplib.py.

Definition at line 1192 of file imaplib.py.


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