src/Biz/Util/Phpsec/System/SSH/Agent/Identity.php
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
/**
* Pure-PHP ssh-agent client.
*
* PHP version 5
*
* @category System
*
* @internal See http://api.libssh.org/rfc/PROTOCOL.agent
*
* @author Jim Wigginton <terrafrost@php.net>
* @copyright 2009 Jim Wigginton
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*
* @see http://phpseclib.sourceforge.net
*/
namespace Biz\Util\Phpsec\System\SSH\Agent;
use Biz\Util\Phpsec\System\SSH\Agent;
/**
* Pure-PHP ssh-agent client identity object.
*
* Instantiation should only be performed by \Biz\Util\Phpsec\System\SSH\Agent class.
* This could be thought of as implementing an interface that Biz\Util\Phpsec\Crypt\RSA
* implements. ie. maybe a Net_SSH_Auth_PublicKey interface or something.
* The methods in this interface would be getPublicKey, setSignatureMode
* and sign since those are the methods phpseclib looks for to perform
* public key authentication.
*
*
* @author Jim Wigginton <terrafrost@php.net>
*/
class Identity
{
/**
* Key Object.
*
* @var \Biz\Util\Phpsec\Crypt\RSA
*
* @see \Biz\Util\Phpsec\System\SSH\Agent\Identity::getPublicKey()
*/
public $key;
/**
* Key Blob.
*
* @var string
*
* @see \Biz\Util\Phpsec\System\SSH\Agent\Identity::sign()
*/
public $key_blob;
/**
* Socket Resource.
*
* @var resource
*
* @see \Biz\Util\Phpsec\System\SSH\Agent\Identity::sign()
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。