class documentation

Elliptic Curve Diffie-Hellman tests for SSHClientTransport.

Method begin_KEXDH_REPLY Utility for test_KEXDH_REPLY and test_disconnectKEXDH_REPLYBadSignature.
Method test_disconnectKEXDH_REPLYBadSignature Test that KEX_ECDH_REPLY disconnects if the signature is bad.
Method test_KEXDH_REPLY Test that the KEXDH_REPLY message completes the key exchange.
Method test_KEXINIT KEXINIT packet with an elliptic curve key exchange results in a KEXDH_INIT message.

Inherited from ClientSSHTransportBaseCase:

Method setUp Undocumented
Method verifyHostKey Mock version of SSHClientTransport.verifyHostKey.
Instance Variable blob Undocumented
Instance Variable calledVerifyHostKey Undocumented
Instance Variable privObj Undocumented

Inherited from ServerAndClientSSHTransportBaseCase (via ClientSSHTransportBaseCase):

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_disconnectIfCantMatchCipher Like test_disconnectIfCantMatchKex, but for the encryption.
Method test_disconnectIfCantMatchCompression Like test_disconnectIfCantMatchKex, but for the compression.
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_disconnectIfCantMatchMAC Like test_disconnectIfCantMatchKex, but for the MAC.
Method test_getHost Test that the transport's getHost method returns an SSHTransportAddress with the IAddress of the host.
Method test_getPeer Test that the transport's getPeer method returns an SSHTransportAddress with the IAddress of the peer.
def begin_KEXDH_REPLY(self): (source)

Utility for test_KEXDH_REPLY and test_disconnectKEXDH_REPLYBadSignature.

Begins an Elliptic Curve Diffie-Hellman key exchange and computes information needed to return either a correct or incorrect signature.

def test_disconnectKEXDH_REPLYBadSignature(self): (source)

Test that KEX_ECDH_REPLY disconnects if the signature is bad.

def test_KEXDH_REPLY(self): (source)

Test that the KEXDH_REPLY message completes the key exchange.

def test_KEXINIT(self): (source)

KEXINIT packet with an elliptic curve key exchange results in a KEXDH_INIT message.