Xceed .NET Libraries Documentation
DeriveKeys Method


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHTransportLayerProtocol Class : DeriveKeys Method
Syntax
'Declaration
 
Public Sub DeriveKeys( _

   ByVal sharedSecret() As Byte, _

   ByVal exchangeHash() As Byte, _

   ByVal sessionID() As Byte, _

   ByVal keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm, _

   ByRef IVClientToServer() As Byte, _

   ByRef IVServerToClient() As Byte, _

   ByRef EncryptionKeyClientToServer() As Byte, _

   ByRef EncryptionKeyServerToClient() As Byte, _

   ByRef IntegrityKeyClientToServer() As Byte, _

   ByRef IntegrityKeyServerToClient() As Byte _

) 
'Usage
 
Dim instance As SSHTransportLayerProtocol

Dim sharedSecret() As Byte

Dim exchangeHash() As Byte

Dim sessionID() As Byte

Dim keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm

Dim IVClientToServer() As Byte

Dim IVServerToClient() As Byte

Dim EncryptionKeyClientToServer() As Byte

Dim EncryptionKeyServerToClient() As Byte

Dim IntegrityKeyClientToServer() As Byte

Dim IntegrityKeyServerToClient() As Byte

 

instance.DeriveKeys(sharedSecret, exchangeHash, sessionID, keyExchangeAlgorithm, IVClientToServer, IVServerToClient, EncryptionKeyClientToServer, EncryptionKeyServerToClient, IntegrityKeyClientToServer, IntegrityKeyServerToClient)

Parameters

sharedSecret
exchangeHash
sessionID
keyExchangeAlgorithm
IVClientToServer
IVServerToClient
EncryptionKeyClientToServer
EncryptionKeyServerToClient
IntegrityKeyClientToServer
IntegrityKeyServerToClient
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