PHP 클래스 Jose\KeyConverter\RSAKey

상속: extends FG\ASN1\Universal\Sequence
파일 보기 프로젝트 열기: spomky-labs/jose 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Jose\Object\JWKInterface | string | array $data )
__toString ( )
getCoefficient ( ) : BigInteger | null
getExponent ( ) : BigInteger
getExponents ( ) : BigInteger[]
getModulus ( ) : BigInteger
getModulusLength ( ) : integer
getPrimes ( ) : BigInteger[]
getPrivateExponent ( ) : BigInteger
getPublicExponent ( ) : BigInteger
isPrivate ( ) : boolean
isPublic ( ) : boolean
toArray ( ) : array
toDER ( ) : string
toPEM ( ) : string
toPublic ( RSAKey $private ) : RSAKey

비공개 메소드들

메소드 설명
convertBase64StringToBigInteger ( string $value ) : BigInteger
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.

메소드 상세

__construct() 공개 메소드

public __construct ( Jose\Object\JWKInterface | string | array $data )
$data Jose\Object\JWKInterface | string | array

__toString() 공개 메소드

public __toString ( )

getCoefficient() 공개 메소드

public getCoefficient ( ) : BigInteger | null
리턴 Jose\Util\BigInteger | null

getExponent() 공개 메소드

public getExponent ( ) : BigInteger
리턴 Jose\Util\BigInteger

getExponents() 공개 메소드

public getExponents ( ) : BigInteger[]
리턴 Jose\Util\BigInteger[]

getModulus() 공개 메소드

public getModulus ( ) : BigInteger
리턴 Jose\Util\BigInteger

getModulusLength() 공개 메소드

public getModulusLength ( ) : integer
리턴 integer

getPrimes() 공개 메소드

public getPrimes ( ) : BigInteger[]
리턴 Jose\Util\BigInteger[]

getPrivateExponent() 공개 메소드

public getPrivateExponent ( ) : BigInteger
리턴 Jose\Util\BigInteger

getPublicExponent() 공개 메소드

public getPublicExponent ( ) : BigInteger
리턴 Jose\Util\BigInteger

isPrivate() 공개 메소드

public isPrivate ( ) : boolean
리턴 boolean

isPublic() 공개 메소드

public isPublic ( ) : boolean
리턴 boolean

toArray() 공개 메소드

public toArray ( ) : array
리턴 array

toDER() 공개 메소드

public toDER ( ) : string
리턴 string

toPEM() 공개 메소드

public toPEM ( ) : string
리턴 string

toPublic() 공개 정적인 메소드

public static toPublic ( RSAKey $private ) : RSAKey
$private RSAKey
리턴 RSAKey