| Current Path : /home/users/unlimited/www/api.xalonx.com/vendor/namshi/jose/src/Namshi/JOSE/Signer/OpenSSL/ |
| Current File : /home/users/unlimited/www/api.xalonx.com/vendor/namshi/jose/src/Namshi/JOSE/Signer/OpenSSL/None.php |
<?php
namespace Namshi\JOSE\Signer\OpenSSL;
use Namshi\JOSE\Signer\SignerInterface;
/**
* None Signer.
*/
class None implements SignerInterface
{
/**
* {@inheritdoc}
*/
public function sign($input, $key)
{
return '';
}
/**
* {@inheritdoc}
*/
public function verify($key, $signature, $input)
{
return $signature === '';
}
}