- Created CHANGELOG.md to maintain version history. - Added README.md with usage instructions for the trigger_deprecation() function. - Initialized composer.json for the Symfony Deprecation Contracts library, specifying dependencies and autoloading.
36 lines
637 B
PHP
36 lines
637 B
PHP
<?php
|
|
/**
|
|
* This file is part of Lcobucci\JWT, a simple library to handle JWT and JWS
|
|
*
|
|
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
|
|
*/
|
|
|
|
namespace PShowSsoScoped\Lcobucci\JWT\Signer\Rsa;
|
|
|
|
use PShowSsoScoped\Lcobucci\JWT\Signer\Rsa;
|
|
|
|
/**
|
|
* Signer for RSA SHA-384
|
|
*
|
|
* @author Luís Otávio Cobucci Oblonczyk <lcobucci@gmail.com>
|
|
* @since 2.1.0
|
|
*/
|
|
class Sha384 extends Rsa
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function getAlgorithmId()
|
|
{
|
|
return 'RS384';
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function getAlgorithm()
|
|
{
|
|
return OPENSSL_ALGO_SHA384;
|
|
}
|
|
}
|