Xceed .NET Libraries Documentation
FitKey Method


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHTransportLayerProtocol Class : FitKey Method
Syntax
'Declaration
 
Public Function FitKey( _
   ByVal keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm, _
   ByVal sharedSecret() As Byte, _
   ByVal exchangeHash() As Byte, _
   ByVal key() As Byte, _
   ByVal targetSize As Integer _
) As Byte()
'Usage
 
Dim instance As SSHTransportLayerProtocol
Dim keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm
Dim sharedSecret() As Byte
Dim exchangeHash() As Byte
Dim key() As Byte
Dim targetSize As Integer
Dim value() As Byte
 
value = instance.FitKey(keyExchangeAlgorithm, sharedSecret, exchangeHash, key, targetSize)
public byte[] FitKey( 
   ISSHKeyExchangeAlgorithm keyExchangeAlgorithm,
   byte[] sharedSecret,
   byte[] exchangeHash,
   byte[] key,
   int targetSize
)

Parameters

keyExchangeAlgorithm
sharedSecret
exchangeHash
key
targetSize
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