Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
fromAsn1 ($signature, $length) | |
toAsn1 ($points, $length) | |
Manipulates the result of a ECDSA signature (points R and S) according to the JWA specs.
OpenSSL creates a signature using the ASN.1 format and, according the JWA specs, the signature for JWTs must be the concatenated values of points R and S (in big-endian octet order).
fromAsn1 | ( | $signature, | |
$length | |||
) |
Converts the signature generated by OpenSSL into what JWA defines
string | $signature | |
int | $length |
Implémenté dans MultibyteStringConverter.
toAsn1 | ( | $points, | |
$length | |||
) |
Converts the JWA signature into something OpenSSL understands
string | $points | |
int | $length |
Implémenté dans MultibyteStringConverter.