Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe PuTTY
+ Graphe d'héritage de PuTTY:

Fonctions membres publiques statiques

static load ($key, $password='')
 
static savePrivateKey (BigInteger $privateKey, BaseCurve $curve, array $publicKey, $password=false, array $options=[])
 
static savePublicKey (BaseCurve $curve, array $publicKey)
 
- Fonctions membres publiques statiques hérités de Montgomery
static isValidEngine ()
 
- Fonctions membres publiques statiques hérités de Base
static isValidEngine ()
 
- Fonctions membres publiques statiques hérités de PHP
static subtractHelper (array $x_value, $x_negative, array $y_value, $y_negative)
 
static scan1divide (PHP $r)
 
- Fonctions membres publiques statiques hérités de Engine
static setModExpEngine ($engine)
 
static minMaxBits ($bits)
 

Champs de données

const PUBLIC_HANDLER = 'phpseclib3\Crypt\EC\Formats\Keys\OpenSSH'
 
- Champs de données hérités de Base
const VARIABLE = 0
 
const DATA = 1
 
- Champs de données hérités de PHP
const VALUE = 0
 
const SIGN = 1
 
const KARATSUBA_CUTOFF = 25
 
const FAST_BITWISE = true
 
const ENGINE_DIR = 'PHP'
 
- Champs de données hérités de Engine
const PRIMES
 

Attributs protégés statiques

static $types
 
- Attributs protégés statiques hérités de Engine
static $zero = []
 
static $one = []
 
static $two = []
 
static $modexpEngine
 
static $isValidEngine
 

Membres hérités additionnels

- Fonctions membres publiques hérités de PHP
 __construct ($x=0, $base=10)
 
 toString ()
 
 toBytes ($twos_compliment=false)
 
 abs ()
 
 bitwise_rightShift ($shift)
 
 bitwise_leftShift ($shift)
 
 isOdd ()
 
 testBit ($x)
 
 isNegative ()
 
 negate ()
 
 bitwise_split ($split)
 
- Fonctions membres publiques hérités de Engine
 __construct ($x=0, $base=10)
 
 toHex ($twos_compliment=false)
 
 toBits ($twos_compliment=false)
 
 __sleep ()
 
 __wakeup ()
 
 jsonSerialize ()
 
 __toString ()
 
 __debugInfo ()
 
 setPrecision ($bits)
 
 getPrecision ()
 
 bitwise_not ()
 
 bitwise_leftRotate ($shift)
 
 bitwise_rightRotate ($shift)
 
 getLength ()
 
 getLengthInBytes ()
 
 isPrime ($t=false)
 
 root ($n=2)
 
 createRecurringModuloFunction ()
 
 bitwise_split ($split)
 
- Fonctions membres protégées hérités de PHP
 initialize ($base)
 
 pad ($str)
 
 divideHelper (PHP $y)
 
 convertToObj (array $arr)
 
 normalize (PHP $result)
 
 lshift ($shift)
 
 rshift ($shift)
 
 powModInner (PHP $e, PHP $n)
 
 make_odd ()
 
 testSmallPrimes ()
 
 powHelper (PHP $n)
 
- Fonctions membres protégées hérités de Engine
 toBytesHelper ()
 
 powModOuter (Engine $e, Engine $n)
 
 setupIsPrime ()
 
 testPrimality ($t)
 
 rootHelper ($n)
 
 rootInner ($n)
 
 extendedGCDHelper (Engine $n)
 
 bitwiseAndHelper (Engine $x)
 
 bitwiseOrHelper (Engine $x)
 
 bitwiseXorHelper (Engine $x)
 
- Fonctions membres protégées statiques hérités de Montgomery
static slidingWindow (Engine $x, Engine $e, Engine $n, $class)
 
- Fonctions membres protégées statiques hérités de Base
static powModHelper (PHP $x, PHP $e, PHP $n, $class)
 
static prepareReduce (array $x, array $n, $class)
 
static multiplyReduce (array $x, array $y, array $n, $class)
 
static squareReduce (array $x, array $n, $class)
 
- Fonctions membres protégées statiques hérités de PHP
static addHelper (array $x_value, $x_negative, array $y_value, $y_negative)
 
static multiplyHelper (array $x_value, $x_negative, array $y_value, $y_negative)
 
static regularMultiply (array $x_value, array $y_value)
 
static compareHelper (array $x_value, $x_negative, array $y_value, $y_negative)
 
static trim (array $value)
 
static array_repeat ($input, $multiplier)
 
static square (array $x)
 
static baseSquare (array $value)
 
static karatsubaSquare (array $value)
 
- Fonctions membres protégées statiques hérités de Engine
static setBitmask ($bits)
 
static base256_lshift (&$x, $shift)
 
static slidingWindow (Engine $x, Engine $e, Engine $n, $class)
 
static randomRangePrimeOuter (Engine $min, Engine $max)
 
static randomRangeHelper (Engine $min, Engine $max)
 
static randomRangePrimeInner (Engine $x, Engine $min, Engine $max)
 
static minHelper (array $nums)
 
static maxHelper (array $nums)
 
- Attributs protégés hérités de Engine
 $value
 
 $is_negative
 
 $precision = -1
 
 $bitmask = false
 
 $reduce
 
 $hex
 

Documentation des fonctions membres

◆ load()

static load (   $key,
  $password = '' 
)
static

Break a public or private key down into its constituent components

public

Paramètres
string$key
string$passwordoptional
Renvoie
array

Références $key, $password, $temp, OpenSSH\load(), Strings\packSSH2(), Strings\shift(), et Strings\unpackSSH2().

◆ savePrivateKey()

static savePrivateKey ( BigInteger  $privateKey,
BaseCurve  $curve,
array  $publicKey,
  $password = false,
array  $options = [] 
)
static

Convert a private key to the appropriate format.

public

Paramètres
\phpseclib3\Math\BigInteger$privateKey
\phpseclib3\Crypt\EC\BaseCurves\Base$curve

Références EC\$curve, $name, $options, $password, phpseclib3\Crypt\EC\Formats\Keys\initialize_static_variables(), Strings\packSSH2(), OpenSSH\savePublicKey(), Strings\shift(), BigInteger\toBits(), et BigInteger\toBytes().

◆ savePublicKey()

static savePublicKey ( BaseCurve  $curve,
array  $publicKey 
)
static

Convert an EC public key to the appropriate format

public

Paramètres
\phpseclib3\Crypt\EC\BaseCurves\Base$curve

Références EC\$curve, $type, OpenSSH\savePublicKey(), et Strings\shift().

Documentation des champs

◆ $types

$types
staticprotected
Valeur initiale :
= [
'ecdsa-sha2-nistp256',
'ecdsa-sha2-nistp384',
'ecdsa-sha2-nistp521',
'ssh-ed25519'
]

◆ PUBLIC_HANDLER

const PUBLIC_HANDLER = 'phpseclib3\Crypt\EC\Formats\Keys\OpenSSH'

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