Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Emarref
Jwt
Algorithm
AsymmetricInterface
PHP Interface Emarref\Jwt\Algorithm\AsymmetricInterface
Inheritance:
extends
Emarref\Jwt\Algorithm\AlgorithmInterface
显示文件
Open project: emarref/jwt
Public Methods
Method
Description
sign
(
string
$value
,
string
| resource
$privateKey
) :
string
verify
(
string
$value
,
string
$signature
,
string
| resource
$publicKey
) :
boolean
Method Details
sign()
public
method
public
sign
(
string
$value
,
string
| resource
$privateKey
) :
string
$value
string
$privateKey
string
| resource
return
string
verify()
public
method
public
verify
(
string
$value
,
string
$signature
,
string
| resource
$publicKey
) :
boolean
$value
string
$signature
string
$publicKey
string
| resource
return
boolean