interface documentation

class _IEllipticCurveExchangeKexAlgorithm(_IKexAlgorithm): (source)

Known implementations: twisted.conch.ssh._kex._Curve25519SHA256, twisted.conch.ssh._kex._Curve25519SHA256LibSSH, twisted.conch.ssh._kex._ECDH256, twisted.conch.ssh._kex._ECDH384, twisted.conch.ssh._kex._ECDH512

View In Hierarchy

An _IEllipticCurveExchangeKexAlgorithm describes a key exchange algorithm that uses an elliptic curve exchange between the client and server.

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.