C# Class Granados.AgentForwarding.OpenSSHAgentForwardingMessageHandler

Agent forwarding message handler (OpenSSH's protocol)
Inheritance: SimpleSSHChannelEventHandler
显示文件 Open project: poderosaproject/poderosa

Public Methods

Method Description
OnData ( Granados.IO.DataFragment data ) : void

Handles channel data

OpenSSHAgentForwardingMessageHandler ( ISSHChannel channel, IAgentForwardingAuthKeyProvider authKeyProvider ) : System

Constructor

Private Methods

Method Description
ProcessMessage ( Granados.IO.DataFragment message ) : void

Process forwarded message.

SSH1FindKey ( BigInteger e, BigInteger n ) : SSH1UserAuthKey

Find a SSH1 key

SSH1IRSAChallenge ( BigInteger e, BigInteger n, BigInteger encryptedChallenge, byte sessionId, uint responseType ) : void

SSH1 RSA challenge

SSH1Identities ( ) : void

List SSH1 RSA keys

SSH2FindKey ( byte blob ) : SSH2UserAuthKey

Find a SSH2 key

SSH2Identities ( ) : void

List SSH2 keys

SSH2Sign ( byte blob, byte data, uint flags ) : void

SSH2 private key signature

Send ( OpenSSHAgentForwardingMessage message ) : void

Sends a message.

SendFailure ( ) : void

Sends SSH_AGENT_FAILURE message.

Method Details

OnData() public method

Handles channel data
public OnData ( Granados.IO.DataFragment data ) : void
data Granados.IO.DataFragment channel data
return void

OpenSSHAgentForwardingMessageHandler() public method

Constructor
public OpenSSHAgentForwardingMessageHandler ( ISSHChannel channel, IAgentForwardingAuthKeyProvider authKeyProvider ) : System
channel ISSHChannel channel object
authKeyProvider IAgentForwardingAuthKeyProvider authentication key provider
return System