interface documentation

class twisted.conch.ssh._kex._IFixedGroupKexAlgorithm(_IKexAlgorithm): (source)

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

View In Hierarchy

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.
prime = (source)

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

generator = (source)

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

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.