summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-10-31 12:52:35 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-10-31 12:52:35 (GMT)
commit48440b7c2751813da110689aff07b4e7ed4ac73f (patch)
tree08f83ca07af7d2e44bedc815fcf97099ac1b9a4d /Doc
parent9ad853bc371e420b20dacbfe00af9da2ba5d3b6d (diff)
downloadcpython-48440b7c2751813da110689aff07b4e7ed4ac73f.zip
cpython-48440b7c2751813da110689aff07b4e7ed4ac73f.tar.gz
cpython-48440b7c2751813da110689aff07b4e7ed4ac73f.tar.bz2
Patch #: Add POP3 over SSL support.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libpoplib.tex20
1 files changed, 18 insertions, 2 deletions
diff --git a/Doc/lib/libpoplib.tex b/Doc/lib/libpoplib.tex
index f5da970..b056693 100644
--- a/Doc/lib/libpoplib.tex
+++ b/Doc/lib/libpoplib.tex
@@ -13,9 +13,12 @@
\indexii{POP3}{protocol}
This module defines a class, \class{POP3}, which encapsulates a
-connection to an POP3 server and implements the protocol as defined in
+connection to a POP3 server and implements the protocol as defined in
\rfc{1725}. The \class{POP3} class supports both the minimal and
-optional command sets.
+optional command sets. Additionally, this module provides a class
+\class{POP3_SSL}, which provides support for connecting to POP3
+servers that use SSL as an underlying protocol layer.
+
Note that POP3, though widely supported, is obsolescent. The
implementation quality of POP3 servers varies widely, and too many are
@@ -31,6 +34,16 @@ created when the instance is initialized.
If \var{port} is omitted, the standard POP3 port (110) is used.
\end{classdesc}
+\begin{classdesc}{POP3_SSL}{host\optional{, port\optional{, keyfile\optional{, certfile}}}}
+This is a subclass of \class{POP3} that connects to the server over an
+SSL encrypted socket. If \var{port} is not specified, 995, the
+standard POP3-over-SSL port is used. \var{keyfile} and \var{certfile}
+are also optional - they can contain a PEM formatted private key and
+certificate chain file for the SSL connection.
+
+\versionadded{2.4}
+\end{classdesc}
+
One exception is defined as an attribute of the \module{poplib} module:
\begin{excdesc}{error_proto}
@@ -143,6 +156,9 @@ otherwise result is list \code{(\var{response}, ['mesgnum uid', ...],
\var{octets})}.
\end{methoddesc}
+Instances of \class{POP3_SSL} have no additional methods. The
+interface of this subclass is identical to its parent.
+
\subsection{POP3 Example \label{pop3-example}}