Method | Description | |
---|---|---|
__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 ( |
Method | Description | |
---|---|---|
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 ( ) : |
||
return |
public getPrivateExponent ( ) : |
||
return |
public getPublicExponent ( ) : |
||
return |
public static toPublic ( |
||
$private | ||
return |