PHP 클래스 Lcobucci\JWT\Signer\Ecdsa\SignatureSerializer

부터: 4.0.0
저자: Luís Otávio Cobucci Oblonczyk ([email protected])
파일 보기 프로젝트 열기: lcobucci/jwt 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Mdanter\Ecc\Math\GmpMathInterface $mathInterface )
parse ( string $expected, string $algorithm ) : Mdanter\Ecc\Crypto\Signature\SignatureInterface
serialize ( Mdanter\Ecc\Crypto\Signature\SignatureInterface $signature, string $algorithm ) : string

비공개 메소드들

메소드 설명
addPadding ( GMP $point, integer $length ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Mdanter\Ecc\Math\GmpMathInterface $mathInterface )
$mathInterface Mdanter\Ecc\Math\GmpMathInterface

parse() 공개 메소드

public parse ( string $expected, string $algorithm ) : Mdanter\Ecc\Crypto\Signature\SignatureInterface
$expected string
$algorithm string
리턴 Mdanter\Ecc\Crypto\Signature\SignatureInterface

serialize() 공개 메소드

public serialize ( Mdanter\Ecc\Crypto\Signature\SignatureInterface $signature, string $algorithm ) : string
$signature Mdanter\Ecc\Crypto\Signature\SignatureInterface
$algorithm string
리턴 string