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


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > DiffieHellmanGroupKeyExchange Class > PerformKeyExchange Method : PerformKeyExchange(ISSHKeyExchangeAlgorithm,ISSHTransportLayerProtocol,SSHPacketIOManager,KeyExchangeInitializationPayload,KeyExchangeInitializationPayload,ISSHPublicKeyAlgorithm,RandomNumberGenerator,Boolean,Int32,Int32,Int32,Byte[],Byte[],Byte[]) Method
Syntax
'Declaration
 
Protected Overloads Shared Sub PerformKeyExchange( _
   ByVal keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm, _
   ByVal transportLayerProtocol As ISSHTransportLayerProtocol, _
   ByVal packetIOManager As SSHPacketIOManager, _
   ByVal clientKeyExchangeInitialization As KeyExchangeInitializationPayload, _
   ByVal serverKeyExchangeInitialization As KeyExchangeInitializationPayload, _
   ByVal publicKeyAlgorithm As ISSHPublicKeyAlgorithm, _
   ByVal random As RandomNumberGenerator, _
   ByVal useOldRequestMethod As Boolean, _
   ByVal minGroupSize As Integer, _
   ByVal preferredGroupSize As Integer, _
   ByVal maxGroupSize As Integer, _
   ByRef sharedSecret() As Byte, _
   ByRef exchangeHash() As Byte, _
   ByRef exchangeHashSignature() As Byte _
) 
'Usage
 
Dim keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm
Dim transportLayerProtocol As ISSHTransportLayerProtocol
Dim packetIOManager As SSHPacketIOManager
Dim clientKeyExchangeInitialization As KeyExchangeInitializationPayload
Dim serverKeyExchangeInitialization As KeyExchangeInitializationPayload
Dim publicKeyAlgorithm As ISSHPublicKeyAlgorithm
Dim random As RandomNumberGenerator
Dim useOldRequestMethod As Boolean
Dim minGroupSize As Integer
Dim preferredGroupSize As Integer
Dim maxGroupSize As Integer
Dim sharedSecret() As Byte
Dim exchangeHash() As Byte
Dim exchangeHashSignature() As Byte
 
DiffieHellmanGroupKeyExchange.PerformKeyExchange(keyExchangeAlgorithm, transportLayerProtocol, packetIOManager, clientKeyExchangeInitialization, serverKeyExchangeInitialization, publicKeyAlgorithm, random, useOldRequestMethod, minGroupSize, preferredGroupSize, maxGroupSize, sharedSecret, exchangeHash, exchangeHashSignature)

Parameters

keyExchangeAlgorithm
transportLayerProtocol
packetIOManager
clientKeyExchangeInitialization
serverKeyExchangeInitialization
publicKeyAlgorithm
random
useOldRequestMethod
minGroupSize
preferredGroupSize
maxGroupSize
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