CoreFiles by mySites.guru
ES384.php38 lines, 625 bytes, from Joomla_5.4.10-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 5.4.9-rc1
md5
49224066f2e3947f515e174457502e80
sha1
b168d524c6f74273046ca183b62f71e47950c8d5
sha256
198ee15b87a59a351aac9d2fbc0b12f819e90a0507dc0d4ec7241366a9f98bbe
<?php

declare(strict_types=1);

namespace Cose\Algorithm\Signature\ECDSA;

use Cose\Key\Ec2Key;
use const OPENSSL_ALGO_SHA384;

final class ES384 extends ECDSA
{
    public const ID = -35;

    public static function create(): self
    {
        return new self();
    }

    public static function identifier(): int
    {
        return self::ID;
    }

    protected function getHashAlgorithm(): int
    {
        return OPENSSL_ALGO_SHA384;
    }

    protected function getCurve(): int
    {
        return Ec2Key::CURVE_P384;
    }

    protected function getSignaturePartLength(): int
    {
        return 96;
    }
}

The same content is in 155 releases, Joomla 5.0.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.