C# Class Renci.SshNet.Security.KeyExchangeEllipticCurveDiffieHellman

Represents base class for Diffie Hellman key exchange algorithm
Inheritance: KeyExchange
Afficher le fichier Open project: ElanHasson/SSIS-Extensions

Protected Properties

Свойство Type Description
_clientExchangeValue BigInteger
_clientPayload byte[]
_hostKey byte[]
_randomValue BigInteger
_serverExchangeValue BigInteger
_serverPayload byte[]
_signature byte[]

Méthodes publiques

Méthode Description
Start ( Session session, KeyExchangeInitMessage message ) : void

Starts key exchange algorithm

Méthodes protégées

Méthode Description
CalculateHash ( ) : byte[]
HandleServerEcdhReply ( ) : void
ValidateExchangeHash ( ) : bool

Validates the exchange hash.

Private Methods

Méthode Description
Session_MessageReceived ( object sender, MessageEventArgs e ) : void

Method Details

CalculateHash() protected méthode

protected CalculateHash ( ) : byte[]
Résultat byte[]

HandleServerEcdhReply() protected méthode

protected HandleServerEcdhReply ( ) : void
Résultat void

Start() public méthode

Starts key exchange algorithm
public Start ( Session session, KeyExchangeInitMessage message ) : void
session Session The session.
message Renci.SshNet.Messages.Transport.KeyExchangeInitMessage Key exchange init message.
Résultat void

ValidateExchangeHash() protected méthode

Validates the exchange hash.
protected ValidateExchangeHash ( ) : bool
Résultat bool

Property Details

_clientExchangeValue protected_oe property

Specifies client exchange number.
protected BigInteger _clientExchangeValue
Résultat BigInteger

_clientPayload protected_oe property

Specifies client payload
protected byte[] _clientPayload
Résultat byte[]

_hostKey protected_oe property

Specifies host key data.
protected byte[] _hostKey
Résultat byte[]

_randomValue protected_oe property

Specifies random generated number.
protected BigInteger _randomValue
Résultat BigInteger

_serverExchangeValue protected_oe property

Specifies server exchange number.
protected BigInteger _serverExchangeValue
Résultat BigInteger

_serverPayload protected_oe property

Specifies server payload
protected byte[] _serverPayload
Résultat byte[]

_signature protected_oe property

Specifies signature data.
protected byte[] _signature
Résultat byte[]