pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
handle ($msgType,\fpoirotte\Pssht\Wire\Decoder $decoder,\fpoirotte\Pssht\Transport $transport, array &$context) | |
handleKEXINIT (\fpoirotte\Pssht\Transport $transport, array &$context) | |
Handler for the SSH protocol's initial state.
Definition at line 17 of file InitialState.php.
fpoirotte\Pssht\Handlers\InitialState::handle | ( | $msgType, | |
\fpoirotte\Pssht\Wire\Decoder | $decoder, | ||
\fpoirotte\Pssht\Transport | $transport, | ||
array & | $context | ||
) |
Handle an SSH message.
int | $msgType | Message identifier. |
fpoirotte::Pssht::Wire::Decoder | $decoder | Decoder for the message. |
fpoirotte::Pssht::Transport | $transport | Transport layer the message was received from. |
array | $context | Context for the SSH connection. |
Implements fpoirotte\Pssht\Handlers\HandlerInterface.
Definition at line 20 of file InitialState.php.
References fpoirotte\Pssht\Algorithms\factory().