Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe Agent

Fonctions membres publiques

 __construct ($address=null)
 
 requestIdentities ()
 
 startSSHForwarding ()
 
 registerChannelOpen ($ssh)
 
 forwardData ($data)
 

Champs de données

const SSH_AGENTC_REQUEST_IDENTITIES = 11
 
const SSH_AGENT_IDENTITIES_ANSWER = 12
 
const SSH_AGENTC_SIGN_REQUEST = 13
 
const SSH_AGENT_SIGN_RESPONSE = 14
 
const FORWARD_NONE = 0
 
const FORWARD_REQUEST = 1
 
const FORWARD_ACTIVE = 2
 
const SSH_AGENT_FAILURE = 5
 

Fonctions membres privées

 request_forwarding ($ssh)
 

Attributs privés

 $fsock
 
 $forward_status = self::FORWARD_NONE
 
 $socket_buffer = ''
 
 $expected_bytes = 0
 
 $request_channel
 

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $address = null)

Default Constructor

Renvoie
Exceptions

Documentation des fonctions membres

◆ forwardData()

forwardData (   $data)

Forward data to SSH Agent and return data reply

Paramètres
string$data
Renvoie
string Data from SSH Agent
Exceptions

Références $data.

◆ registerChannelOpen()

registerChannelOpen (   $ssh)

On successful channel open

This method is called upon successful channel open to give the SSH Agent an opportunity to take further action. i.e. request agent forwarding

Paramètres
\phpseclib3\Net\SSH2$sshprivate

Références Agent\request_forwarding().

◆ request_forwarding()

request_forwarding (   $ssh)
private

Request agent forwarding of remote server

Paramètres
\phpseclib3\Net\SSH2$ssh
Renvoie
bool private

Référencé par Agent\registerChannelOpen().

◆ requestIdentities()

requestIdentities ( )

Request Identities

See "2.5.2 Requesting a list of protocol 2 keys" Returns an array containing zero or more objects

Renvoie
array
Exceptions

Références $i, $key, $temp, $type, PublicKeyLoader\load(), et Strings\unpackSSH2().

◆ startSSHForwarding()

startSSHForwarding ( )

Signal that agent forwarding should be requested when a channel is opened

Renvoie
void public

Documentation des champs

◆ $expected_bytes

$expected_bytes = 0
private

◆ $forward_status

$forward_status = self::FORWARD_NONE
private

◆ $fsock

$fsock
private

◆ $request_channel

$request_channel
private

◆ $socket_buffer

$socket_buffer = ''
private

◆ FORWARD_ACTIVE

const FORWARD_ACTIVE = 2

◆ FORWARD_NONE

const FORWARD_NONE = 0

◆ FORWARD_REQUEST

const FORWARD_REQUEST = 1

◆ SSH_AGENT_FAILURE

const SSH_AGENT_FAILURE = 5

Unused

◆ SSH_AGENT_IDENTITIES_ANSWER

const SSH_AGENT_IDENTITIES_ANSWER = 12

◆ SSH_AGENT_SIGN_RESPONSE

const SSH_AGENT_SIGN_RESPONSE = 14

Référencé par Identity\sign().

◆ SSH_AGENTC_REQUEST_IDENTITIES

const SSH_AGENTC_REQUEST_IDENTITIES = 11

◆ SSH_AGENTC_SIGN_REQUEST

const SSH_AGENTC_SIGN_REQUEST = 13

Référencé par Identity\sign().


La documentation de cette classe a été générée à partir du fichier suivant :