SSH_AGENT_RSA2_256
SSH_AGENT_RSA2_256
Pure-PHP ssh-agent client identity object
Instantiation should only be performed by \phpseclib\System\SSH\Agent class. This could be thought of as implementing an interface that phpseclib\Crypt\RSA implements. ie. maybe a Net_SSH_Auth_PublicKey interface or something. The methods in this interface would be getPublicKey and sign since those are the methods phpseclib looks for to perform public key authentication.
$key : \phpseclib\Crypt\RSA
Key Object
__construct(resource $fsock) : \phpseclib\System\SSH\Agent\Identity
Default Constructor.
resource | $fsock |
setPublicKey(\phpseclib\Crypt\RSA $key)
Set Public Key
Called by \phpseclib\System\SSH\Agent::requestIdentities()
\phpseclib\Crypt\RSA | $key |