| OLD | NEW |
| 1 """ | 1 # Author: Trevor Perrin |
| 2 TLS Lite is a free python library that implements SSL v3, TLS v1, and | 2 # See the LICENSE file for legal information regarding use of this file. |
| 3 TLS v1.1. TLS Lite supports non-traditional authentication methods | 3 |
| 4 such as SRP, shared keys, and cryptoIDs, in addition to X.509 | 4 """TLS Lite is a free python library that implements SSL and TLS. TLS Lite |
| 5 certificates. TLS Lite is pure python, however it can access OpenSSL, | 5 supports RSA and SRP ciphersuites. TLS Lite is pure python, however it can use |
| 6 cryptlib, pycrypto, and GMPY for faster crypto operations. TLS Lite | 6 other libraries for faster crypto operations. TLS Lite integrates with several |
| 7 integrates with httplib, xmlrpclib, poplib, imaplib, smtplib, | 7 stdlib neworking libraries. |
| 8 SocketServer, asyncore, and Twisted. | 8 |
| 9 API documentation is available in the 'docs' directory. |
| 10 |
| 11 If you have questions or feedback, feel free to contact me. |
| 9 | 12 |
| 10 To use, do:: | 13 To use, do:: |
| 11 | 14 |
| 15 from tlslite import TLSConnection, ... |
| 16 |
| 17 If you want to import the most useful objects, the cleanest way is: |
| 18 |
| 12 from tlslite.api import * | 19 from tlslite.api import * |
| 13 | 20 |
| 14 Then use the L{tlslite.TLSConnection.TLSConnection} class with a socket, | 21 Then use the L{tlslite.TLSConnection.TLSConnection} class with a socket. |
| 15 or use one of the integration classes in L{tlslite.integration}. | 22 (Or, use one of the integration classes in L{tlslite.integration}). |
| 16 | 23 |
| 17 @version: 0.3.8 | 24 @version: 0.4.6 |
| 18 """ | 25 """ |
| 19 __version__ = "0.3.8" | |
| 20 | 26 |
| 21 __all__ = ["api", | 27 from tlslite.api import * |
| 22 "basedb", | 28 from tlslite.api import __version__ # Unsure why this is needed, but it is |
| 23 "checker", | |
| 24 "constants", | |
| 25 "errors", | |
| 26 "fileobject", | |
| 27 "handshakesettings", | |
| 28 "mathtls", | |
| 29 "messages", | |
| 30 "session", | |
| 31 "sessioncache", | |
| 32 "sharedkeydb", | |
| 33 "tlsconnection", | |
| 34 "tlsrecordlayer", | |
| 35 "verifierdb", | |
| 36 "x509", | |
| 37 "x509certchain", | |
| 38 "integration", | |
| 39 "utils"] | |
| OLD | NEW |