'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)
public void DeriveKeys( byte[] sharedSecret, byte[] exchangeHash, byte[] sessionID, ISSHKeyExchangeAlgorithm keyExchangeAlgorithm, out byte[] IVClientToServer, out byte[] IVServerToClient, out byte[] EncryptionKeyClientToServer, out byte[] EncryptionKeyServerToClient, out byte[] IntegrityKeyClientToServer, out byte[] IntegrityKeyServerToClient )
Parameters
- sharedSecret
- exchangeHash
- sessionID
- keyExchangeAlgorithm
- IVClientToServer
- IVServerToClient
- EncryptionKeyClientToServer
- EncryptionKeyServerToClient
- IntegrityKeyClientToServer
- IntegrityKeyServerToClient