Known implementations: twisted.conch.ssh._kex._DHGroup14SHA1

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.
prime =

A long giving the prime number used in Diffie-Hellman key exchange, or None if not applicable.

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.)

API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.