Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Jose
Algorithm
SignatureAlgorithmInterface
verify
Jose\Algorithm\SignatureAlgorithmInterface::verify PHP Method
SignatureAlgorithmInterface Interface Documentation
Show file
Open project: spomky-labs/jose
verify()
public
method
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
return
boolean
public function verify(JWKInterface $key, $input, $signature);
SignatureAlgorithmInterface
sign
verify