KeyExchangeDiffieHellman MembersSSH .NET Client Library Documentation

The KeyExchangeDiffieHellman type exposes the following members.
Constructors

  NameDescription
Protected methodKeyExchangeDiffieHellman
Initializes a new instance of the KeyExchangeDiffieHellman class
Back to Top
Methods

  NameDescription
Protected methodCalculateHash
Calculates key exchange hash value.
(Inherited from KeyExchange.)
Protected methodCanTrustHostKey
Determines whether the specified host key can be trusted.
(Inherited from KeyExchange.)
Public methodCreateClientCipher
Creates the client side cipher to use.
(Inherited from KeyExchange.)
Public methodCreateClientHash
Creates the client side hash algorithm to use.
(Inherited from KeyExchange.)
Public methodCreateCompressor
Creates the compression algorithm to use to deflate data.
(Inherited from KeyExchange.)
Public methodCreateDecompressor
Creates the compression algorithm to use to inflate data.
(Inherited from KeyExchange.)
Public methodCreateServerCipher
Creates the server side cipher to use.
(Inherited from KeyExchange.)
Public methodCreateServerHash
Creates the server side hash algorithm to use.
(Inherited from KeyExchange.)
Public methodDispose 
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged ResourceMessages.
(Inherited from KeyExchange.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from KeyExchange.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the KeyExchange is reclaimed by garbage collection.
(Inherited from KeyExchange.)
Public methodFinish
Finishes key exchange algorithm.
(Inherited from KeyExchange.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodHandleServerDhReply
Handles the server DH reply message.
Protected methodHash
Hashes the specified data bytes.
(Inherited from KeyExchange.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodPopulateClientExchangeValue
Populates the client exchange value.
Protected methodSendMessage
Sends SSH message to the server
(Inherited from KeyExchange.)
Public methodStart
Starts key exchange algorithm
(Overrides KeyExchange Start(Session, KeyExchangeInitMessage).)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodValidateExchangeHash
Validates the exchange hash.
(Overrides KeyExchange ValidateExchangeHash .)
Back to Top
Fields

  NameDescription
Protected field_clientExchangeValue
Specifies client exchange number.
Protected field_clientPayload
Specifies client payload
Protected field_group
Specifies key exchange group number.
Protected field_hostKey
Specifies host key data.
Protected field_prime
Specifies key exchange prime number.
Protected field_randomValue
Specifies random generated number.
Protected field_serverExchangeValue
Specifies server exchange number.
Protected field_serverPayload
Specifies server payload
Protected field_signature
Specifies signature data.
Back to Top
Properties

  NameDescription
Public propertyExchangeHash
Gets the exchange hash.
(Inherited from KeyExchange.)
Public propertyName
Gets algorithm name.
(Inherited from Algorithm.)
Protected propertySession
Gets or sets the session.
(Inherited from KeyExchange.)
Public propertySharedKey
Gets or sets key exchange shared key.
(Inherited from KeyExchange.)
Back to Top
Events

  NameDescription
Public eventHostKeyReceived
Occurs when host key received.
(Inherited from KeyExchange.)
Back to Top
See Also