PHP 클래스 Lcobucci\JWT\Signer\Ecdsa

부터: 2.1.0
저자: Luís Otávio Cobucci Oblonczyk ([email protected])
상속: extends Lcobucci\JWT\Signer\BaseSigner
파일 보기 프로젝트 열기: lcobucci/jwt

공개 메소드들

메소드 설명
__construct ( Lcobucci\JWT\Signer\Ecdsa\EccAdapter $adapter, KeyParser $keyParser )
create ( ) : Ecdsa
createHash ( string $payload, Lcobucci\JWT\Signer\Key $key ) : string
doVerify ( string $expected, string $payload, Lcobucci\JWT\Signer\Key $key ) : boolean
getAlgorithm ( ) : string Returns the name of algorithm to be used to create the signing hash

메소드 상세

__construct() 공개 메소드

public __construct ( Lcobucci\JWT\Signer\Ecdsa\EccAdapter $adapter, KeyParser $keyParser )
$adapter Lcobucci\JWT\Signer\Ecdsa\EccAdapter
$keyParser Lcobucci\JWT\Signer\Ecdsa\KeyParser

create() 공개 정적인 메소드

public static create ( ) : Ecdsa
리턴 Ecdsa

createHash() 공개 메소드

public createHash ( string $payload, Lcobucci\JWT\Signer\Key $key ) : string
$payload string
$key Lcobucci\JWT\Signer\Key
리턴 string

doVerify() 공개 메소드

public doVerify ( string $expected, string $payload, Lcobucci\JWT\Signer\Key $key ) : boolean
$expected string
$payload string
$key Lcobucci\JWT\Signer\Key
리턴 boolean

getAlgorithm() 추상적인 공개 메소드

Returns the name of algorithm to be used to create the signing hash
abstract public getAlgorithm ( ) : string
리턴 string