'Declaration Public Overloads Sub KeyExchange( _ ByRef sharedSecret() As Byte, _ ByRef exchangeHash() As Byte, _ ByRef keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm, _ ByRef publicKeyAlgorithm As ISSHPublicKeyAlgorithm, _ ByRef encryptionAlgorithmClientToServer As ISSHEncryptionAlgorithm, _ ByRef encryptionAlgorithmServerToClient As ISSHEncryptionAlgorithm, _ ByRef dataIntegrityAlgorithmClientToServer As ISSHDataIntegrityAlgorithm, _ ByRef dataIntegrityAlgorithmServerToClient As ISSHDataIntegrityAlgorithm, _ ByRef compressionAlgorithmClientToServer As ISSHCompressionAlgorithm, _ ByRef compressionAlgorithmServerToClient As ISSHCompressionAlgorithm _ )
'Usage Dim instance As SSHTransportLayerProtocol Dim sharedSecret() As Byte Dim exchangeHash() As Byte Dim keyExchangeAlgorithm As ISSHKeyExchangeAlgorithm Dim publicKeyAlgorithm As ISSHPublicKeyAlgorithm Dim encryptionAlgorithmClientToServer As ISSHEncryptionAlgorithm Dim encryptionAlgorithmServerToClient As ISSHEncryptionAlgorithm Dim dataIntegrityAlgorithmClientToServer As ISSHDataIntegrityAlgorithm Dim dataIntegrityAlgorithmServerToClient As ISSHDataIntegrityAlgorithm Dim compressionAlgorithmClientToServer As ISSHCompressionAlgorithm Dim compressionAlgorithmServerToClient As ISSHCompressionAlgorithm instance.KeyExchange(sharedSecret, exchangeHash, keyExchangeAlgorithm, publicKeyAlgorithm, encryptionAlgorithmClientToServer, encryptionAlgorithmServerToClient, dataIntegrityAlgorithmClientToServer, dataIntegrityAlgorithmServerToClient, compressionAlgorithmClientToServer, compressionAlgorithmServerToClient)
public void KeyExchange( out byte[] sharedSecret, out byte[] exchangeHash, out ISSHKeyExchangeAlgorithm keyExchangeAlgorithm, out ISSHPublicKeyAlgorithm publicKeyAlgorithm, out ISSHEncryptionAlgorithm encryptionAlgorithmClientToServer, out ISSHEncryptionAlgorithm encryptionAlgorithmServerToClient, out ISSHDataIntegrityAlgorithm dataIntegrityAlgorithmClientToServer, out ISSHDataIntegrityAlgorithm dataIntegrityAlgorithmServerToClient, out ISSHCompressionAlgorithm compressionAlgorithmClientToServer, out ISSHCompressionAlgorithm compressionAlgorithmServerToClient )
Parameters
- sharedSecret
- exchangeHash
- keyExchangeAlgorithm
- publicKeyAlgorithm
- encryptionAlgorithmClientToServer
- encryptionAlgorithmServerToClient
- dataIntegrityAlgorithmClientToServer
- dataIntegrityAlgorithmServerToClient
- compressionAlgorithmClientToServer
- compressionAlgorithmServerToClient