Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: third_party/tlslite/tlslite/__init__.py

Issue 210323002: Update tlslite to 0.4.6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Executable bit and --similarity=80 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tlslite/tests/verifierDB ('k') | third_party/tlslite/tlslite/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/tlslite/__init__.py
diff --git a/third_party/tlslite/tlslite/__init__.py b/third_party/tlslite/tlslite/__init__.py
index 2a587d31b8a7bea44bf0e8e577cb98e5f3e306fe..2a7589eef71fec71fadcd843d485d47fa14d9590 100644
--- a/third_party/tlslite/tlslite/__init__.py
+++ b/third_party/tlslite/tlslite/__init__.py
@@ -1,39 +1,28 @@
-"""
-TLS Lite is a free python library that implements SSL v3, TLS v1, and
-TLS v1.1. TLS Lite supports non-traditional authentication methods
-such as SRP, shared keys, and cryptoIDs, in addition to X.509
-certificates. TLS Lite is pure python, however it can access OpenSSL,
-cryptlib, pycrypto, and GMPY for faster crypto operations. TLS Lite
-integrates with httplib, xmlrpclib, poplib, imaplib, smtplib,
-SocketServer, asyncore, and Twisted.
+# Author: Trevor Perrin
+# See the LICENSE file for legal information regarding use of this file.
+
+"""TLS Lite is a free python library that implements SSL and TLS. TLS Lite
+supports RSA and SRP ciphersuites. TLS Lite is pure python, however it can use
+other libraries for faster crypto operations. TLS Lite integrates with several
+stdlib neworking libraries.
+
+API documentation is available in the 'docs' directory.
+
+If you have questions or feedback, feel free to contact me.
To use, do::
+ from tlslite import TLSConnection, ...
+
+If you want to import the most useful objects, the cleanest way is:
+
from tlslite.api import *
-Then use the L{tlslite.TLSConnection.TLSConnection} class with a socket,
-or use one of the integration classes in L{tlslite.integration}.
+Then use the L{tlslite.TLSConnection.TLSConnection} class with a socket.
+(Or, use one of the integration classes in L{tlslite.integration}).
-@version: 0.3.8
+@version: 0.4.6
"""
-__version__ = "0.3.8"
-
-__all__ = ["api",
- "basedb",
- "checker",
- "constants",
- "errors",
- "fileobject",
- "handshakesettings",
- "mathtls",
- "messages",
- "session",
- "sessioncache",
- "sharedkeydb",
- "tlsconnection",
- "tlsrecordlayer",
- "verifierdb",
- "x509",
- "x509certchain",
- "integration",
- "utils"]
+
+from tlslite.api import *
+from tlslite.api import __version__ # Unsure why this is needed, but it is
« no previous file with comments | « third_party/tlslite/tests/verifierDB ('k') | third_party/tlslite/tlslite/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698