class _IFixedGroupKexAlgorithm(_IKexAlgorithm): (source)
Known implementations: twisted.conch.ssh._kex._DHGroup14SHA1
_IFixedGroupKexAlgorithm describes a key exchange algorithm with a fixed prime / generator group.| 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.) |
| Attribute | prime |
An int giving the prime number used in Diffie-Hellman key exchange, or None if not applicable. |
Inherited from _IKexAlgorithm:
| Attribute | hashProcessor |
A callable hash algorithm constructor (e.g. hashlib.sha256) suitable for use with this key exchange algorithm. |
| Attribute | preference |
An int giving the preference of the algorithm when negotiating key exchange. Algorithms with lower precedence values are more preferred. |