twisted.conch.test.test_transport.ServerSSHTransportECDHBaseCase(ServerSSHTransportBaseCase)
class documentationtwisted.conch.test.test_transport
(View In Hierarchy)
Known subclasses: twisted.conch.test.test_transport.ServerSSHTransportCurve25519SHA256Tests, twisted.conch.test.test_transport.ServerSSHTransportECDHTests
Elliptic Curve Diffie-Hellman tests for SSHServerTransport.
Method | test_KEX_ECDH_INIT | Test that the KEXDH_INIT message causes the server to send a KEXDH_REPLY with the server's public key and a signature. |
Inherited from ServerSSHTransportBaseCase:
Method | setUp | Undocumented |
Method | tearDown | Undocumented |
Inherited from ServerAndClientSSHTransportBaseCase (via ServerSSHTransportBaseCase):
Method | checkDisconnected | Helper function to check if the transport disconnected. |
Method | connectModifiedProtocol | Helper function to connect a modified protocol to the test protocol and test for disconnection. |
Method | test_disconnectIfCantMatchKex | Test that the transport disconnects if it can't match the key exchange |
Method | test_disconnectIfCantMatchKeyAlg | Like test_disconnectIfCantMatchKex, but for the key algorithm. |
Method | test_disconnectIfCantMatchCompression | Like test_disconnectIfCantMatchKex, but for the compression. |
Method | test_disconnectIfCantMatchCipher | Like test_disconnectIfCantMatchKex, but for the encryption. |
Method | test_disconnectIfCantMatchMAC | Like test_disconnectIfCantMatchKex, but for the MAC. |
Method | test_getPeer | Test that the transport's getPeer method returns an SSHTransportAddress
with the IAddress
of the peer. |
Method | test_getHost | Test that the transport's getHost method returns an SSHTransportAddress
with the IAddress
of the host. |