Click or drag to resize

KeyExchange Class

Represents base class for different key exchange algorithm implementations
Inheritance Hierarchy

Namespace:  Renci.SshNet.Security
Assembly:  Neon.SSH.NET (in Neon.SSH.NET.dll) Version: 2.1.0
Syntax
public abstract class KeyExchange : Algorithm, 
	IKeyExchange, IDisposable

The KeyExchange type exposes the following members.

Constructors
  NameDescription
Protected methodKeyExchange
Initializes a new instance of the KeyExchange class
Top
Properties
  NameDescription
Public propertyExchangeHash
Gets the exchange hash.
Public propertyName
Gets algorithm name.
(Inherited from Algorithm.)
Protected propertySession
Gets or sets the session.
Public propertySharedKey
Gets or sets key exchange shared key.
Top
Methods
  NameDescription
Protected methodCalculateHash
Calculates key exchange hash value.
Protected methodCanTrustHostKey
Determines whether the specified host key can be trusted.
Public methodCreateClientCipher
Creates the client side cipher to use.
Public methodCreateClientHash
Creates the client side hash algorithm to use.
Public methodCreateCompressor
Creates the compression algorithm to use to deflate data.
Public methodCreateDecompressor
Creates the compression algorithm to use to inflate data.
Public methodCreateServerCipher
Creates the server side cipher to use.
Public methodCreateServerHash
Creates the server side hash algorithm to use.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the KeyExchange is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodFinish
Finishes key exchange algorithm.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHash
Hashes the specified data bytes.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSendMessage
Sends SSH message to the server
Public methodStart
Starts key exchange algorithm
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateExchangeHash
Validates the exchange hash.
Top
Events
  NameDescription
Public eventHostKeyReceived
Occurs when host key received.
Top
See Also