Xceed .NET Libraries Documentation
Xceed.SSH.Protocols Assembly / Xceed.SSH.Protocols Namespace / DiffieHellmanGroup14SHA256KeyExchange Class / PerformKeyExchange Method


In This Topic
    PerformKeyExchange Method (DiffieHellmanGroup14SHA256KeyExchange)
    In This Topic
    Syntax
    'Declaration
     
    Public Sub PerformKeyExchange( _
       ByVal transportLayerProtocol As ISSHTransportLayerProtocol, _
       ByVal packetIOManager As SSHPacketIOManager, _
       ByVal clientKeyExchangeInitialization As KeyExchangeInitializationPayload, _
       ByVal serverKeyExchangeInitialization As KeyExchangeInitializationPayload, _
       ByVal publicKeyAlgorithm As ISSHPublicKeyAlgorithm, _
       ByRef sharedSecret() As Byte, _
       ByRef exchangeHash() As Byte, _
       ByRef exchangeHashSignature() As Byte _
    ) 
    'Usage
     
    Dim instance As DiffieHellmanGroup14SHA256KeyExchange
    Dim transportLayerProtocol As ISSHTransportLayerProtocol
    Dim packetIOManager As SSHPacketIOManager
    Dim clientKeyExchangeInitialization As KeyExchangeInitializationPayload
    Dim serverKeyExchangeInitialization As KeyExchangeInitializationPayload
    Dim publicKeyAlgorithm As ISSHPublicKeyAlgorithm
    Dim sharedSecret() As Byte
    Dim exchangeHash() As Byte
    Dim exchangeHashSignature() As Byte
     
    instance.PerformKeyExchange(transportLayerProtocol, packetIOManager, clientKeyExchangeInitialization, serverKeyExchangeInitialization, publicKeyAlgorithm, sharedSecret, exchangeHash, exchangeHashSignature)

    Parameters

    transportLayerProtocol
    packetIOManager
    clientKeyExchangeInitialization
    serverKeyExchangeInitialization
    publicKeyAlgorithm
    sharedSecret
    exchangeHash
    exchangeHashSignature
    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