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

Fonctions membres publiques statiques

static load ($key, $password='')
 
static savePublicKey (Ed25519 $curve, array $publicKey)
 
static savePrivateKey (BigInteger $privateKey, Ed25519 $curve, array $publicKey, $password='')
 

Champs de données

const IS_INVISIBLE = true
 

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 EC\$curve, $key, et phpseclib3\Crypt\EC\Formats\Keys\extractPoint().

Référencé par OpenSSH\load().

◆ savePrivateKey()

static savePrivateKey ( BigInteger  $privateKey,
Ed25519  $curve,
array  $publicKey,
  $password = '' 
)
static

Convert a private key to the appropriate format.

public

Paramètres
\phpseclib3\Math\BigInteger$privateKey
\phpseclib3\Crypt\EC\Curves\Ed25519$curve

Références EC\$curve, et $password.

◆ savePublicKey()

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

Convert an EC public key to the appropriate format

public

Paramètres
\phpseclib3\Crypt\EC\Curves\Ed25519$curve

Références EC\$curve.

Documentation des champs

◆ IS_INVISIBLE

const IS_INVISIBLE = true

Is invisible flag

private


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