Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
toAsn1 ($signature, $length) | |
fromAsn1 ($signature, $length) | |
Champs de données | |
const | ASN1_SEQUENCE = '30' |
const | ASN1_INTEGER = '02' |
const | ASN1_MAX_SINGLE_BYTE = 128 |
const | ASN1_LENGTH_2BYTES = '81' |
const | ASN1_BIG_INTEGER_LIMIT = '7f' |
const | ASN1_NEGATIVE_INTEGER = '00' |
const | BYTE_SIZE = 2 |
Fonctions membres privées statiques | |
static | octetLength ($data) |
static | preparePositiveInteger ($data) |
static | readAsn1Content ($message, &$position, $length) |
static | readAsn1Integer ($message, &$position) |
static | retrievePositiveInteger ($data) |
ECDSA signature converter using ext-mbstring
fromAsn1 | ( | $signature, | |
$length | |||
) |
Converts the signature generated by OpenSSL into what JWA defines
string | $signature | |
int | $length |
Implémente SignatureConverter.
Références $message, $position, et ConversionFailed\incorrectStartSequence().
|
staticprivate |
Références $data.
|
staticprivate |
|
staticprivate |
Références $message, $position, et ConversionFailed\integerExpected().
toAsn1 | ( | $points, | |
$length | |||
) |
Converts the JWA signature into something OpenSSL understands
string | $points | |
int | $length |
Implémente SignatureConverter.
Références ConversionFailed\invalidLength(), et null.
const ASN1_BIG_INTEGER_LIMIT = '7f' |
const ASN1_INTEGER = '02' |
const ASN1_LENGTH_2BYTES = '81' |
const ASN1_MAX_SINGLE_BYTE = 128 |
const ASN1_NEGATIVE_INTEGER = '00' |
const ASN1_SEQUENCE = '30' |
const BYTE_SIZE = 2 |