twisted.protocols.test.test_tls.HandshakeCallbackContextFactory class documentationtwisted.protocols.test.test_tls
(View In Hierarchy)
HandshakeCallbackContextFactory
is a factory for SSL contexts which allows applications to get notification
when the SSL handshake completes.
| Method | __init__ | Undocumented | 
| Class Method | factoryAndDeferred | Create a new HandshakeCallbackContextFactoryand return a two-tuple of it and aDeferredwhich
will fire when a connection created with it completes a TLS handshake. | 
| Method | getContext | Create and return an SSL context configured to use self._infoas the info callback. | 
| Instance Variable | _finished | A Deferredwhich will be called back when the handshake is done. | 
| Method | _info | No summary | 
Create a new HandshakeCallbackContextFactory
and return a two-tuple of it and a Deferred which
will fire when a connection created with it completes a TLS handshake.