Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Structures de données | |
class | libsodium |
class | MontgomeryPrivate |
class | MontgomeryPublic |
class | OpenSSH |
class | PKCS1 |
class | PKCS8 |
class | PuTTY |
class | XML |
Fonctions | |
static | initialize_static_variables () |
static | setImplicitCurve (BaseCurve $curve) |
static | loadCurveByParam (array $params) |
static | extractPoint ($str, BaseCurve $curve) |
static | encodeParameters (BaseCurve $curve, $returnArray=false, array $options=[]) |
static | useSpecifiedCurve () |
static | useNamedCurve () |
Variables | |
trait | Common |
static | $childOIDsLoaded = false |
static | $useNamedCurves = true |
|
staticprivate |
Encode Parameters
\phpseclib3\Crypt\EC\BaseCurves\Base | $curve | |
bool | $returnArray | optional |
array | $options | optional |
Références $b, $class, EC\$curve, $data, $name, $options, $params, phpseclib3\Crypt\EC\Formats\Keys\$useNamedCurves, EC\$x, __DIR__, ASN1\encodeDER(), et ECParameters\MAP.
Référencé par XML\encodeXMLParameters(), PKCS1\load(), PKCS1\saveParameters(), PKCS1\savePrivateKey(), PKCS8\savePrivateKey(), et PKCS8\savePublicKey().
|
static |
Extract points from a string
Supports both compressed and uncompressed points
string | $str | |
\phpseclib3\Crypt\EC\BaseCurves\Base | $curve |
Références EC\$curve, $val, EC\$x, EncoderInterface\encode(), et Strings\shift().
Référencé par libsodium\load(), OpenSSH\load(), PKCS1\load(), XML\load(), PKCS8\load(), phpseclib3\Crypt\EC\Formats\Keys\loadCurveByParam(), XML\loadCurveByParam(), PKCS8\loadEdDSA(), PrivateKey\multiply(), et PublicKey\verify().
|
staticprivate |
Initialize static variables
Références ASN1\loadOIDs().
Référencé par AsymmetricKey\__construct(), BigInteger\__construct(), AsymmetricKey\addFileFormat(), EC\createKey(), DSA\createKey(), DSA\createParameters(), OpenSSH\getAlias(), BigInteger\getEngine(), AsymmetricKey\getSupportedKeyFormats(), RSA\initialize_static_variables(), PKCS1\load(), XML\load(), PKCS8\load(), PSS\load(), AsymmetricKey\load(), AsymmetricKey\loadFormat(), PKCS8\preParse(), BigInteger\random(), BigInteger\randomPrime(), PKCS1\saveParameters(), PuTTY\savePrivateKey(), PSS\savePrivateKey(), PKCS1\savePrivateKey(), PKCS8\savePrivateKey(), PKCS8\savePublicKey(), PSS\savePublicKey(), XML\savePublicKey(), PKCS8\wrapPrivateKey(), et PKCS8\wrapPublicKey().
|
staticprotected |
Returns an instance of based on the curve parameters
array | $params |
Références EC\$curve, $data, $params, $temp, ASN1\asn1map(), ASN1\decodeBER(), EncoderInterface\encode(), phpseclib3\Crypt\EC\Formats\Keys\extractPoint(), et AsymmetricKey\toString().
Référencé par OpenSSH\load(), PKCS1\load(), XML\load(), et PKCS8\load().
|
static |
Explicitly set the curve
If the key contains an implicit curve phpseclib needs the curve to be explicitly provided
\phpseclib3\Crypt\EC\BaseCurves\Base | $curve |
Références EC\$curve.
|
static |
Use Named Curve
A named curve does not include any parameters. It is up to the EC parameters to know what the coefficients, the base points, etc, are from the name of the curve. A named curve is a more concise way of representing a curve
Références phpseclib3\Crypt\EC\Formats\Keys\$useNamedCurves.
|
static |
Use Specified Curve
A specified curve has all the coefficients, the base points, etc, explicitely included. A specified curve is a more verbose way of representing a curve
Références phpseclib3\Crypt\EC\Formats\Keys\$useNamedCurves.
Référencé par EC\getCurve().
|
staticprotected |
Référencé par PKCS8\initialize_static_variables().
|
staticprivate |
trait Common |