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
sign
Jose\Algorithm\SignatureAlgorithmInterface::sign PHP Method
SignatureAlgorithmInterface Interface Documentation
Show file
Open project: spomky-labs/jose
sign()
public
method
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
return
string
public function sign(JWKInterface $key, $input);
SignatureAlgorithmInterface
sign
verify