CoreFiles by mySites.guru
ES384KeyAnalyzer.php31 lines, 558 bytes, from Joomla_5.1.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.0.0-beta3
md5
7de94c31a5ca2a803ce2ca3ddd5f03da
sha1
098b4fff3af546c4cab999003bb99e7ec26e84e4
sha256
0a8d6ac6f75ee089cc27046e32f079489272b96b0201b587e2d4f53590811cd2
<?php

declare(strict_types=1);

namespace Jose\Component\KeyManagement\Analyzer;

use Jose\Component\Core\Util\Ecc\Curve;
use Jose\Component\Core\Util\Ecc\NistCurve;

final class ES384KeyAnalyzer extends ESKeyAnalyzer
{
    protected function getAlgorithmName(): string
    {
        return 'ES384';
    }

    protected function getCurveName(): string
    {
        return 'P-384';
    }

    protected function getCurve(): Curve
    {
        return NistCurve::curve384();
    }

    protected function getKeySize(): int
    {
        return 384;
    }
}

The same content is in 135 releases, Joomla 5.1.0-beta1 to 6.2.1. See them all, or every version of this file.