Part of twisted.protocols.amp View Source View In Hierarchy
Callers of StartTLS may pass several special arguments, which affect the TLS negotiation:
Each of those special parameters may also be present as a key in the response dictionary.
Method | __init__ | Create a StartTLS command. (This is private. Use AMP.callRemote.) |
Method | _doCommand | When a StartTLS command is sent, prepare to start TLS, but don't actually |
Inherited from Command:
Class | __metaclass__ | Metaclass hack to establish reverse-mappings for 'errors' and |
Class Method | makeResponse | Serialize a mapping of arguments using this Command 's |
Class Method | makeArguments | Serialize a mapping of arguments using this Command 's |
Class Method | parseResponse | Parse a mapping of serialized arguments using this |
Class Method | parseArguments | Parse a mapping of serialized arguments using this |
Class Method | responder | Declare a method to be a responder for a particular command. |
Parameters | tls_localCertificate | the PrivateCertificate object to use to secure the connection. If it's None, or unspecified, an ephemeral DH key is used instead. |
tls_verifyAuthorities | a list of Certificate objects which represent root certificates to verify our peer with. |