◆ decodeValue()
static decodeValue |
( |
|
$value | ) |
|
|
staticprivate |
Decodes the value
- Paramètres
-
Références $value.
◆ disableRFC4050Syntax()
static disableRFC4050Syntax |
( |
| ) |
|
|
static |
◆ enableRFC4050Syntax()
static enableRFC4050Syntax |
( |
| ) |
|
|
static |
◆ encodeXMLParameters()
static encodeXMLParameters |
( |
BaseCurve |
$curve, |
|
|
|
$pre, |
|
|
array |
$options = [] |
|
) |
| |
|
staticprivate |
◆ extractPointRFC4050()
static extractPointRFC4050 |
( |
\DOMXPath |
$xpath, |
|
|
BaseCurve |
$curve |
|
) |
| |
|
staticprivate |
Extract points from an XML document
- Paramètres
-
\DOMXPath | $xpath | |
\phpseclib3\Crypt\EC\BaseCurves\Base | $curve | |
- Renvoie
- object[]
Références EC\$curve, et EC\$x.
◆ isolateNamespace()
static isolateNamespace |
( |
|
$xml, |
|
|
|
$ns |
|
) |
| |
|
staticprivate |
Finds the first element in the relevant namespace, strips the namespacing and returns the XML for that element.
- Paramètres
-
Références $xml.
◆ load()
static load |
( |
|
$key, |
|
|
|
$password = '' |
|
) |
| |
|
static |
◆ loadCurveByParam()
static loadCurveByParam |
( |
\DOMXPath |
$xpath | ) |
|
|
staticprivate |
◆ loadCurveByParamRFC4050()
static loadCurveByParamRFC4050 |
( |
\DOMXPath |
$xpath | ) |
|
|
staticprivate |
◆ query()
static query |
( |
|
$xpath, |
|
|
|
$name, |
|
|
|
$error = null , |
|
|
|
$decode = true |
|
) |
| |
|
staticprivate |
Case-insensitive xpath query
- Paramètres
-
\DOMXPath | $xpath | |
string | $name | |
string | $error | optional |
bool | $decode | optional |
- Renvoie
Références $name, $names, $query, et $result.
◆ savePublicKey()
static savePublicKey |
( |
BaseCurve |
$curve, |
|
|
array |
$publicKey, |
|
|
array |
$options = [] |
|
) |
| |
|
static |
◆ setNamespace()
static setNamespace |
( |
|
$namespace | ) |
|
|
static |
Sets the namespace. dsig11 is the most common one.
Set to null to unset. Used only for creating public keys.
- Paramètres
-
Références $namespace, et XML\$namespace.
◆ $namespace
◆ $rfc4050
La documentation de cette classe a été générée à partir du fichier suivant :