Метод | Описание | |
---|---|---|
__construct ( Jose\Object\JWKInterface | string | array $data ) | ||
__toString ( ) | ||
getCoefficient ( ) : |
||
getExponent ( ) : |
||
getExponents ( ) : |
||
getModulus ( ) : |
||
getModulusLength ( ) : integer | ||
getPrimes ( ) : |
||
getPrivateExponent ( ) : |
||
getPublicExponent ( ) : |
||
isPrivate ( ) : boolean | ||
isPublic ( ) : boolean | ||
toArray ( ) : array | ||
toDER ( ) : string | ||
toPEM ( ) : string | ||
toPublic ( |
Метод | Описание | |
---|---|---|
convertBase64StringToBigInteger ( string $value ) : |
||
fromBase64ToInteger ( string $value ) : string | ||
initPrivateKey ( ) | ||
initPublicKey ( ) | ||
loadJWK ( array $jwk ) | ||
loadPEM ( string $data ) : array | ||
populateBigIntegers ( ) | ||
populateCRT ( ) | This method adds Chinese Remainder Theorem (CRT) parameters if primes 'p' and 'q' are available. |
public __construct ( Jose\Object\JWKInterface | string | array $data ) | ||
$data | Jose\Object\JWKInterface | string | array |
public getCoefficient ( ) : |
||
Результат |
public getExponents ( ) : |
||
Результат |
public getPrivateExponent ( ) : |
||
Результат |
public getPublicExponent ( ) : |
||
Результат |
public static toPublic ( |
||
$private | ||
Результат |