class documentation

class MockOldFactoryPublicKeys(MockFactory): (source)

View In Hierarchy

The old SSHFactory returned mappings from key names to strings from getPublicKeys(). We return those here for testing.

Method getPublicKeys We used to map key types to public key blobs as strings.

Inherited from MockFactory:

Method getPrimes Diffie-Hellman primes that can be used for key exchange algorithms that use group exchange to establish a prime / generator group.
Method getPrivateKeys Return the private keys that authenticate this server.
Class Variable services Undocumented

Inherited from SSHFactory (via MockFactory):

Method buildProtocol Create an instance of the server side of the SSH protocol.
Method getDHPrime Return a tuple of (g, p) for a Diffe-Hellman process, with p being as close to bits bits as possible.
Method getService Return a class to use as a service for the given transport.
Method startFactory Check for public and private keys.
Instance Variable primes Undocumented
Instance Variable privateKeys Undocumented
Instance Variable publicKeys Undocumented
Class Variable _log Undocumented

Inherited from Factory (via MockFactory, SSHFactory):

Class Method forProtocol Create a factory for the given protocol.
Method doStart Make sure startFactory is called.
Method doStop Make sure stopFactory is called.
Method logPrefix Describe this factory for log messages.
Method stopFactory This will be called before I stop listening on all Ports/Connectors.
Class Variable noisy Undocumented
Class Variable protocol Undocumented
Instance Variable numPorts Undocumented
def getPublicKeys(self): (source)

We used to map key types to public key blobs as strings.