CoreFiles by mySites.guru
RS256.php27 lines, 429 bytes, from Joomla_6.2.0-Stable-Full_Package.zip
Raw History Compare with 6.1.4
md5
3b59ba723872beb1734e6ae0939a7454
sha1
01e8ef6ebb635fb9c5d3643c9787e1b9f6f552b7
sha256
5a1ffffbe96b6dad5a50c4460c238c15815aff658d6b132bbc4991e3b4c6b56a
<?php

declare(strict_types=1);

namespace Cose\Algorithm\Signature\RSA;

use const OPENSSL_ALGO_SHA256;

final class RS256 extends RSA
{
    public const ID = -257;

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

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

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

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.