Xceed .NET Libraries Documentation
UseNewKeysClientToServer Method


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHTransportLayerProtocol Class : UseNewKeysClientToServer Method
Syntax
'Declaration
 
Public Sub UseNewKeysClientToServer( _
   ByVal packetIOManager As SSHPacketIOManager, _
   ByVal sharedSecret() As Byte, _
   ByVal exchangeHash() As Byte, _
   ByVal keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm, _
   ByVal publicKeyAlgorithm As ISSHPublicKeyAlgorithm, _
   ByVal encryptionAlgorithm As ISSHEncryptionAlgorithm, _
   ByVal dataIntegrityAlgorithm As ISSHDataIntegrityAlgorithm, _
   ByVal compressionAlgorithm As ISSHCompressionAlgorithm, _
   ByVal ivClientToServer() As Byte, _
   ByVal encryptionKeyClientToServer() As Byte, _
   ByVal integrityKeyClientToServer() As Byte _
) 
'Usage
 
Dim instance As SSHTransportLayerProtocol
Dim packetIOManager As SSHPacketIOManager
Dim sharedSecret() As Byte
Dim exchangeHash() As Byte
Dim keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm
Dim publicKeyAlgorithm As ISSHPublicKeyAlgorithm
Dim encryptionAlgorithm As ISSHEncryptionAlgorithm
Dim dataIntegrityAlgorithm As ISSHDataIntegrityAlgorithm
Dim compressionAlgorithm As ISSHCompressionAlgorithm
Dim ivClientToServer() As Byte
Dim encryptionKeyClientToServer() As Byte
Dim integrityKeyClientToServer() As Byte
 
instance.UseNewKeysClientToServer(packetIOManager, sharedSecret, exchangeHash, keyExchangeAlgorithm, publicKeyAlgorithm, encryptionAlgorithm, dataIntegrityAlgorithm, compressionAlgorithm, ivClientToServer, encryptionKeyClientToServer, integrityKeyClientToServer)

Parameters

packetIOManager
sharedSecret
exchangeHash
keyExchangeAlgorithm
publicKeyAlgorithm
encryptionAlgorithm
dataIntegrityAlgorithm
compressionAlgorithm
ivClientToServer
encryptionKeyClientToServer
integrityKeyClientToServer
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