Package M2Crypto :: Package SSL :: Module TwistedProtocolWrapper
[frames] | no frames]

Module TwistedProtocolWrapper



Make Twisted use M2Crypto for SSL

Copyright (c) 2004-2007 Open Source Applications Foundation. All rights reserved.

Classes
  TLSProtocolWrapper
A SSL/TLS protocol wrapper to be used with Twisted.
Functions
 
connectSSL(host, port, factory, contextFactory, timeout=30, bindAddress=None, reactor=twisted.internet.reactor, postConnectionCheck=Checker.Checker())
A convenience function to start an SSL/TLS connection using Twisted.
 
connectTCP(host, port, factory, timeout=30, bindAddress=None, reactor=twisted.internet.reactor, postConnectionCheck=Checker.Checker())
A convenience function to start a TCP connection using Twisted.
 
listenSSL(port, factory, contextFactory, backlog=5, interface='', reactor=twisted.internet.reactor, postConnectionCheck=<function _alwaysSucceedsPostConnectionCheck at 0x8b994c4>)
A convenience function to listen for SSL/TLS connections using Twisted.
 
listenTCP(port, factory, backlog=5, interface='', reactor=twisted.internet.reactor, postConnectionCheck=None)
A convenience function to listen for TCP connections using Twisted.
Function Details

connectSSL(host, port, factory, contextFactory, timeout=30, bindAddress=None, reactor=twisted.internet.reactor, postConnectionCheck=Checker.Checker())

 

A convenience function to start an SSL/TLS connection using Twisted.

See IReactorSSL interface in Twisted.

connectTCP(host, port, factory, timeout=30, bindAddress=None, reactor=twisted.internet.reactor, postConnectionCheck=Checker.Checker())

 

A convenience function to start a TCP connection using Twisted.

NOTE: You must call startTLS(ctx) to go into SSL/TLS mode.

See IReactorTCP interface in Twisted.

listenSSL(port, factory, contextFactory, backlog=5, interface='', reactor=twisted.internet.reactor, postConnectionCheck=<function _alwaysSucceedsPostConnectionCheck at 0x8b994c4>)

 

A convenience function to listen for SSL/TLS connections using Twisted.

See IReactorSSL interface in Twisted.

listenTCP(port, factory, backlog=5, interface='', reactor=twisted.internet.reactor, postConnectionCheck=None)

 

A convenience function to listen for TCP connections using Twisted.

NOTE: You must call startTLS(ctx) to go into SSL/TLS mode.

See IReactorTCP interface in Twisted.