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.
def getPublicKeys(self):

Return the public keys that authenticate this server.

def getPrivateKeys(self):

Return the private keys that authenticate this server.

def getPrimes(self):

Diffie-Hellman primes that can be used for key exchange algorithms that use group exchange to establish a prime / generator group.

ReturnsThe primes and generators. (type: dict mapping the key size to a list of (generator, prime) tuple.)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.