PHP Interface Emarref\Jwt\Algorithm\AsymmetricInterface

Inheritance: extends Emarref\Jwt\Algorithm\AlgorithmInterface
Datei anzeigen 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