Xceed .NET Libraries Documentation
Xceed.SSH.Protocols Assembly / Xceed.SSH.Protocols Namespace / SSHTransportLayerProtocol Class / UseNewKeysServerToClient Method


In This Topic
    UseNewKeysServerToClient Method
    In This Topic
    Syntax
    'Declaration
     
    Public Sub UseNewKeysServerToClient( _
       ByVal sharedSecret() As Byte, _
       ByVal exchangeHash() As Byte, _
       ByVal keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm, _
       ByVal encryptionAlgorithm As ISSHEncryptionAlgorithm, _
       ByVal dataIntegrityAlgorithm As ISSHDataIntegrityAlgorithm, _
       ByVal compressionAlgorithm As ISSHCompressionAlgorithm, _
       ByVal iv() As Byte, _
       ByVal encryptionKey() As Byte, _
       ByVal integrityKey() As Byte _
    ) 
    'Usage
     
    Dim instance As SSHTransportLayerProtocol
    Dim sharedSecret() As Byte
    Dim exchangeHash() As Byte
    Dim keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm
    Dim encryptionAlgorithm As ISSHEncryptionAlgorithm
    Dim dataIntegrityAlgorithm As ISSHDataIntegrityAlgorithm
    Dim compressionAlgorithm As ISSHCompressionAlgorithm
    Dim iv() As Byte
    Dim encryptionKey() As Byte
    Dim integrityKey() As Byte
     
    instance.UseNewKeysServerToClient(sharedSecret, exchangeHash, keyExchangeAlgorithm, encryptionAlgorithm, dataIntegrityAlgorithm, compressionAlgorithm, iv, encryptionKey, integrityKey)

    Parameters

    sharedSecret
    exchangeHash
    keyExchangeAlgorithm
    encryptionAlgorithm
    dataIntegrityAlgorithm
    compressionAlgorithm
    iv
    encryptionKey
    integrityKey
    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