class documentation
class HandshakeCallbackContextFactory: (source)
HandshakeCallbackContextFactory
is a factory for SSL contexts which allows applications to get notification when the SSL handshake completes.
Class Method | factory |
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 | __init__ |
Undocumented |
Method | get |
Create and return an SSL context configured to use self._info as the info callback. |
Method | _info |
This is the "info callback" on the context. It will be called periodically by pyOpenSSL with information about the state of a connection. When it indicates the handshake is complete, it will fire self._finished... |
Instance Variable | _finished |
A Deferred which will be called back when the handshake is done. |
Instance Variable | _method |
Undocumented |
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.