Home | Trees | Index | Help |
---|
Package twisted :: Package test :: Module test_conch :: Class SSHTestFactory |
|
Factory
--+ |SSHFactory
--+ | SSHTestFactory
Method Summary | |
---|---|
Create an instance of a subclass of Protocol. | |
Make sure startFactory is called. (inherited from Factory )
| |
Make sure stopFactory is called. (inherited from Factory )
| |
tuple
|
Return a tuple of (g, p) for a Diffe-Hellman process, with p being as close to bits bits as possible. (inherited from SSHFactory )
|
dict
|
Called when the factory is started to get Diffie-Hellman generators and primes to use. |
dict
|
Called when the factory is started to get the private portions of the servers host keys. |
dict
|
Called when the factory is started to get the public portions of the servers host keys. |
getService(self,
trans,
name)
| |
This will be called before I begin listening on a Port or Connector. (inherited from SSHFactory )
| |
This will be called before I stop listening on all Ports/Connectors. (inherited from Factory )
|
Class Variable Summary | |
---|---|
int |
noisy
|
dict |
services
|
Method Details |
---|
buildProtocol(self, addr)Create an instance of a subclass of Protocol. The returned instance will handle input on an incoming server connection, and an attribute "factory" pointing to the creating factory. Override this method to alter how Protocol instances get created.
|
getPrimes(self)Called when the factory is started to get Diffie-Hellman generators and primes to use. Returns a dictionary mapping number of bits to lists of tuple of (generator, prime).
|
getPrivateKeys(self)Called when the factory is started to get the private portions of the servers host keys. Returns a dictionary mapping SSH key types toCrypto.PublicKey.pubkey.pubkey objects.
|
getPublicKeys(self)Called when the factory is started to get the public portions of the servers host keys. Returns a dictionary mapping SSH key types to public key strings.
|
Class Variable Details |
---|
noisy
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:26:11 2003 | http://epydoc.sf.net |