twisted.conch.ssh._kex._IFixedGroupKexAlgorithm(_IKexAlgorithm)
interface documentationtwisted.conch.ssh._kex
View Source
(View In Hierarchy)
Known implementations: twisted.conch.ssh._kex._DHGroup14SHA1, twisted.conch.ssh._kex._DHGroup1SHA1
An _IFixedGroupKexAlgorithm
describes a key exchange algorithm with a fixed prime / generator
group.
Attribute | prime | A long giving the prime number used in Diffie-Hellman key
exchange, or None if not applicable. |
Attribute | generator | A long giving the generator number used in Diffie-Hellman
key exchange, or None if not applicable. (This is not related
to Python generator functions.) |
Inherited from _IKexAlgorithm:
Attribute | preference | An int giving the preference of the algorithm when
negotiating key exchange. Algorithms with lower precedence values are more
preferred. |
Attribute | hashProcessor | A callable hash algorithm constructor (e.g. hashlib.sha256 )
suitable for use with this key exchange algorithm. |