'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)
protected static void PerformKeyExchange( ISSHKeyExchangeAlgorithm keyExchangeAlgorithm, ISSHTransportLayerProtocol transportLayerProtocol, SSHPacketIOManager packetIOManager, KeyExchangeInitializationPayload clientKeyExchangeInitialization, KeyExchangeInitializationPayload serverKeyExchangeInitialization, ISSHPublicKeyAlgorithm publicKeyAlgorithm, RandomNumberGenerator random, bool useOldRequestMethod, int minGroupSize, int preferredGroupSize, int maxGroupSize, out byte[] sharedSecret, out byte[] exchangeHash, out byte[] exchangeHashSignature )
Parameters
- keyExchangeAlgorithm
- transportLayerProtocol
- packetIOManager
- clientKeyExchangeInitialization
- serverKeyExchangeInitialization
- publicKeyAlgorithm
- random
- useOldRequestMethod
- minGroupSize
- preferredGroupSize
- maxGroupSize
- sharedSecret
- exchangeHash
- exchangeHashSignature