twisted.conch.ssh._kex._IGroupExchangeKexAlgorithm(_IKexAlgorithm)
interface documentationtwisted.conch.ssh._kex
View Source
(View In Hierarchy)
Known implementations: twisted.conch.ssh._kex._DHGroupExchangeSHA1, twisted.conch.ssh._kex._DHGroupExchangeSHA256
An _IGroupExchangeKexAlgorithm
describes a key exchange algorithm that uses group exchange between the
client and server.
A prime / generator group should be chosen at run time based on the requested size. See RFC 4419.
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. |