Handler for the various legacy things that a contextFactory can be.
| Exception | |
You should be using a newer TLS context configuration interface. |
| Function | older |
Compatibility shim for IOpenSSLContextFactory.getContext-style method to create(Client/Server)Creator. |
| Function | oldest |
Comptibility shim that does largely the same thing as older but for things that don't even properly implement the old-style interface; check explicitly for the method and try to provide a useful assert if the object is just the wrong type rather than simply using an older API. |
| Type Alias | |
Undocumented |
| Type Alias | |
Undocumented |
| Function | _convert |
Upgrade a connection creator / context-factory-ish object into something with a signature like the most recent interface for building OpenSSL connection objects (i.e. like the methods on IOpenSSLClientConnectionCreator... |
Compatibility shim for IOpenSSLContextFactory.getContext-style method to create(Client/Server)Creator.
Comptibility shim that does largely the same thing as older but for things that don't even properly implement the old-style interface; check explicitly for the method and try to provide a useful assert if the object is just the wrong type rather than simply using an older API.
Undocumented
| Value |
|
bool, creator: SomeConnectionCreator) -> SingleArgFactory:
(source)
¶
Upgrade a connection creator / context-factory-ish object into something with a signature like the most recent interface for building OpenSSL connection objects (i.e. like the methods on IOpenSSLClientConnectionCreator and IOpenSSLServerConnectionCreator), accounting for all the various interfaces older versions of Twisted used for context configuration.