class twisted.conch.ssh._kex._IFixedGroupKexAlgorithm(_IKexAlgorithm): (source)
Known implementations: twisted.conch.ssh._kex._DHGroup14SHA1
An _IFixedGroupKexAlgorithm describes a key exchange algorithm with a fixed prime / generator group.
| Attribute | prime | An int giving the prime number used in Diffie-Hellman key exchange, or None if not applicable. |
| Attribute | generator | An int 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. |