PHP Класс Lcobucci\JWT\Signer\Rsa

С версии: 2.1.0
Автор: Luís Otávio Cobucci Oblonczyk ([email protected])
Наследование: extends Lcobucci\JWT\Signer\OpenSSL
Показать файл Открыть проект

Открытые методы

Метод Описание
createHash ( string $payload, Lcobucci\JWT\Signer\Key $key ) : string
doVerify ( string $expected, string $payload, Lcobucci\JWT\Signer\Key $key ) : boolean
getAlgorithm ( ) : integer Returns the algorithm name

Приватные методы

Метод Описание
validateKey ( resource $key ) Raise an exception when the key type is not the expected type

Описание методов

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 algorithm name
abstract public getAlgorithm ( ) : integer
Результат integer