Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Jose
Algorithm
SignatureAlgorithmInterface
PHP Интерфейс Jose\Algorithm\SignatureAlgorithmInterface
Наследование:
extends
Jose\Algorithm\JWAInterface
Показать файл
Открыть проект
Открытые методы
Метод
Описание
sign
(
Jose\Object\JWKInterface
$key
,
string
$input
) :
string
Sign the input.
verify
(
Jose\Object\JWKInterface
$key
,
string
$input
,
string
$signature
) :
boolean
Verify the signature of data.
Описание методов
sign()
публичный
Метод
Sign the input.
public
sign
(
Jose\Object\JWKInterface
$key
,
string
$input
) :
string
$key
Jose\Object\JWKInterface
The private key used to sign the data
$input
string
The input
Результат
string
verify()
публичный
Метод
Verify the signature of data.
public
verify
(
Jose\Object\JWKInterface
$key
,
string
$input
,
string
$signature
) :
boolean
$key
Jose\Object\JWKInterface
The private key used to sign the data
$input
string
The input
$signature
string
The signature to verify
Результат
boolean