'Declaration Public Sub UseNewKeys( _ 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.UseNewKeys(sharedSecret, exchangeHash, keyExchangeAlgorithm, encryptionAlgorithm, dataIntegrityAlgorithm, compressionAlgorithm, iv, encryptionKey, integrityKey)
public void UseNewKeys( byte[] sharedSecret, byte[] exchangeHash, ISSHKeyExchangeAlgorithm keyExchangeAlgorithm, ISSHEncryptionAlgorithm encryptionAlgorithm, ISSHDataIntegrityAlgorithm dataIntegrityAlgorithm, ISSHCompressionAlgorithm compressionAlgorithm, byte[] iv, byte[] encryptionKey, byte[] integrityKey )
Parameters
- sharedSecret
- exchangeHash
- keyExchangeAlgorithm
- encryptionAlgorithm
- dataIntegrityAlgorithm
- compressionAlgorithm
- iv
- encryptionKey
- integrityKey