0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
mctv
/
vendor
/
lcobucci
/
jwt
/
src
/
Signer
/
Ecdsa
/
[
Home
]
File: Sha256.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 Lcobucci\JWT\Signer\Ecdsa; use Lcobucci\JWT\Signer\Ecdsa; /** * Signer for ECDSA SHA-256 * * @author Luís Otávio Cobucci Oblonczyk <lcobucci@gmail.com> * @since 2.1.0 */ class Sha256 extends Ecdsa { /** * {@inheritdoc} */ public function getAlgorithmId() { return 'ES256'; } /** * {@inheritdoc} */ public function getAlgorithm() { return 'sha256'; } /** * {@inheritdoc} */ public function getKeyLength() { return 64; } }