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 HandshakeCallbackContextFactory
and return a two-tuple of it and a Deferred which
will fire when a connection created with it completes a TLS handshake. |
| Method | getContext | Create and return an SSL context configured to use
self._info as the info callback. |
| Instance Variable | _finished | A Deferred
which 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.