Method | Description | |
---|---|---|
__construct ( Emarref\Jwt\Algorithm\AsymmetricInterface $algorithm ) | ||
encrypt ( string $value ) : string | ||
getPrivateKey ( ) : resource | string | ||
getPublicKey ( ) : resource | string | ||
setPrivateKey ( resource | string $privateKey ) | ||
setPublicKey ( resource | string $publicKey ) | ||
verify ( string $value, string $signature ) : boolean |
public __construct ( Emarref\Jwt\Algorithm\AsymmetricInterface $algorithm ) | ||
$algorithm | Emarref\Jwt\Algorithm\AsymmetricInterface |
public setPrivateKey ( resource | string $privateKey ) | ||
$privateKey | resource | string |
public setPublicKey ( resource | string $publicKey ) | ||
$publicKey | resource | string |