twisted.conch.test.test_transport.MockOldFactoryPrivateKeys(MockFactory)
class documentationtwisted.conch.test.test_transport
(View In Hierarchy)
The old SSHFactory returned mappings from key names to cryptography key objects from getPrivateKeys(). We return those here for testing.
Method | getPrivateKeys | We used to map key types to cryptography key objects. |
Inherited from MockFactory:
Method | getPublicKeys | Return the public 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. |