Part of twisted.protocols.amp View Source View In Hierarchy
Use, or subclass, me to implement a command that starts TLS.
Callers of StartTLS may pass several special arguments, which affect the TLS negotiation: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 do it; wait for the acknowledgement, then initiate the TLS handshake. |
Inherited from Command:
Class | __metaclass__ | Metaclass hack to establish reverse-mappings for 'errors' and 'fatalErrors' as class vars. |
Class Method | makeResponse | Serialize a mapping of arguments using this Command 's
response schema.
|
Class Method | makeArguments | Serialize a mapping of arguments using this Command 's
argument schema.
|
Class Method | parseResponse | Parse a mapping of serialized arguments using this Command 's
response schema.
|
Class Method | parseArguments | Parse a mapping of serialized arguments using this Command 's
argument schema.
|
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. |