Xceed .NET Libraries Documentation
PerformKeyExchange(ISSHTransportLayerProtocol,SSHPacketIOManager,KeyExchangeInitializationPayload,KeyExchangeInitializationPayload,ISSHPublicKeyAlgorithm,Byte[],Byte[],Byte[]) Method


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > DiffieHellmanGroupKeyExchange Class > PerformKeyExchange Method : PerformKeyExchange(ISSHTransportLayerProtocol,SSHPacketIOManager,KeyExchangeInitializationPayload,KeyExchangeInitializationPayload,ISSHPublicKeyAlgorithm,Byte[],Byte[],Byte[]) Method
Syntax
'Declaration
 
Public Overloads Sub PerformKeyExchange( _

   ByVal transportLayerProtocol As ISSHTransportLayerProtocol, _

   ByVal packetIOManager As SSHPacketIOManager, _

   ByVal clientKeyExchangeInitialization As KeyExchangeInitializationPayload, _

   ByVal serverKeyExchangeInitialization As KeyExchangeInitializationPayload, _

   ByVal publicKeyAlgorithm As ISSHPublicKeyAlgorithm, _

   ByRef sharedSecret() As Byte, _

   ByRef exchangeHash() As Byte, _

   ByRef exchangeHashSignature() As Byte _

) 
'Usage
 
Dim instance As DiffieHellmanGroupKeyExchange

Dim transportLayerProtocol As ISSHTransportLayerProtocol

Dim packetIOManager As SSHPacketIOManager

Dim clientKeyExchangeInitialization As KeyExchangeInitializationPayload

Dim serverKeyExchangeInitialization As KeyExchangeInitializationPayload

Dim publicKeyAlgorithm As ISSHPublicKeyAlgorithm

Dim sharedSecret() As Byte

Dim exchangeHash() As Byte

Dim exchangeHashSignature() As Byte

 

instance.PerformKeyExchange(transportLayerProtocol, packetIOManager, clientKeyExchangeInitialization, serverKeyExchangeInitialization, publicKeyAlgorithm, sharedSecret, exchangeHash, exchangeHashSignature)

Parameters

transportLayerProtocol
packetIOManager
clientKeyExchangeInitialization
serverKeyExchangeInitialization
publicKeyAlgorithm
sharedSecret
exchangeHash
exchangeHashSignature
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

DiffieHellmanGroupKeyExchange Class
DiffieHellmanGroupKeyExchange Members
Overload List