'Declaration Public 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 DiffieHellmanGroup14SHA256KeyExchange 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)
public void PerformKeyExchange( ISSHTransportLayerProtocol transportLayerProtocol, SSHPacketIOManager packetIOManager, KeyExchangeInitializationPayload clientKeyExchangeInitialization, KeyExchangeInitializationPayload serverKeyExchangeInitialization, ISSHPublicKeyAlgorithm publicKeyAlgorithm, out byte[] sharedSecret, out byte[] exchangeHash, out byte[] exchangeHashSignature )
Parameters
- transportLayerProtocol
- packetIOManager
- clientKeyExchangeInitialization
- serverKeyExchangeInitialization
- publicKeyAlgorithm
- sharedSecret
- exchangeHash
- exchangeHashSignature