'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