PHP Class Emarref\Jwt\Algorithm\EcdSa

Inheritance: implements Emarref\Jwt\Algorithm\AsymmetricInterface
Show file Open project: emarref/jwt

Public Methods

Method Description
__construct ( )
sign ( string $value, string | resource $privateKey ) : string
verify ( string $value, string $signature, string | resource $publicKey ) : boolean

Method Details

__construct() public method

public __construct ( )

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