twisted.conch.test.test_transport.MockCipher(object)
class documentationtwisted.conch.test.test_transport
(View In Hierarchy)
A mocked-up version of twisted.conch.ssh.transport.SSHCiphers.
Method | encrypt | Called to encrypt the packet. Simply record that encryption was used and return the data unchanged. |
Method | decrypt | Called to decrypt the packet. Simply record that decryption was used and return the data unchanged. |
Method | makeMAC | Make a Message Authentication Code by sending the character value of the outgoing packet. |
Method | verify | Verify the Message Authentication Code by checking that the packet sequence number is the same. |
Method | setKeys | Record the keys. |
Called to encrypt the packet. Simply record that encryption was used and return the data unchanged.
Called to decrypt the packet. Simply record that decryption was used and return the data unchanged.
Make a Message Authentication Code by sending the character value of the outgoing packet.