twisted.conch.test.test_transport.MockFactory(factory.SSHFactory) class documentationtwisted.conch.test.test_transport
(View In Hierarchy)
Known subclasses: twisted.conch.test.test_transport.MockOldFactoryPrivateKeys, twisted.conch.test.test_transport.MockOldFactoryPublicKeys
A mocked-up factory based on twisted.conch.ssh.factory.SSHFactory.
| Method | getPublicKeys | Return the public keys that authenticate this server. | 
| Method | getPrivateKeys | Return the private keys that authenticate this server. | 
| Method | getPrimes | Diffie-Hellman primes that can be used for key exchange algorithms that use group exchange to establish a prime / generator group. | 
Diffie-Hellman primes that can be used for key exchange algorithms that use group exchange to establish a prime / generator group.
| Returns | The primes and generators. (type: dictmapping the key size to alistof(generator, 
prime)tuple.) | |