Xceed .NET Libraries Documentation
KeyExchange(KeyExchangeInitializationPayload,Byte[],Byte[],ISSHKeyExchangeAlgorithm,ISSHPublicKeyAlgorithm,ISSHEncryptionAlgorithm,ISSHEncryptionAlgorithm,ISSHDataIntegrityAlgorithm,ISSHDataIntegrityAlgorithm,ISSHCompressionAlgorithm,ISSHCompressionAlgorithm) Method


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHTransportLayerProtocol Class > KeyExchange Method : KeyExchange(KeyExchangeInitializationPayload,Byte[],Byte[],ISSHKeyExchangeAlgorithm,ISSHPublicKeyAlgorithm,ISSHEncryptionAlgorithm,ISSHEncryptionAlgorithm,ISSHDataIntegrityAlgorithm,ISSHDataIntegrityAlgorithm,ISSHCompressionAlgorithm,ISSHCompressionAlgorithm) Method
Syntax
'Usage
 
Dim instance As SSHTransportLayerProtocol

Dim serverKeyExchangeInitialization As KeyExchangeInitializationPayload

Dim sharedSecret() As Byte

Dim exchangeHash() As Byte

Dim keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm

Dim publicKeyAlgorithm As ISSHPublicKeyAlgorithm

Dim encryptionAlgorithmClientToServer As ISSHEncryptionAlgorithm

Dim encryptionAlgorithmServerToClient As ISSHEncryptionAlgorithm

Dim dataIntegrityAlgorithmClientToServer As ISSHDataIntegrityAlgorithm

Dim dataIntegrityAlgorithmServerToClient As ISSHDataIntegrityAlgorithm

Dim compressionAlgorithmClientToServer As ISSHCompressionAlgorithm

Dim compressionAlgorithmServerToClient As ISSHCompressionAlgorithm

 

instance.KeyExchange(serverKeyExchangeInitialization, sharedSecret, exchangeHash, keyExchangeAlgorithm, publicKeyAlgorithm, encryptionAlgorithmClientToServer, encryptionAlgorithmServerToClient, dataIntegrityAlgorithmClientToServer, dataIntegrityAlgorithmServerToClient, compressionAlgorithmClientToServer, compressionAlgorithmServerToClient)

Parameters

serverKeyExchangeInitialization
sharedSecret
exchangeHash
keyExchangeAlgorithm
publicKeyAlgorithm
encryptionAlgorithmClientToServer
encryptionAlgorithmServerToClient
dataIntegrityAlgorithmClientToServer
dataIntegrityAlgorithmServerToClient
compressionAlgorithmClientToServer
compressionAlgorithmServerToClient
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SSHTransportLayerProtocol Class
SSHTransportLayerProtocol Members
Overload List