CoreFiles by mySites.guru
RS256.php29 lines, 516 bytes, from Joomla_4.2.4-Stable-Full_Package.zip
Raw History Compare with 4.2.3
md5
5b57b282c5b6112ec63c6f01a9bdcb6f
sha1
7eb7614ff448de8286f88f9d9fcad2c085af9e8a
sha256
95bc835a0339abdf45bb19df01253a6703f00f6d5c6844b3aeee6bfdaeaf12fb
<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2014-2019 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace Cose\Algorithm\Signature\RSA;

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

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

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

The same content is in 131 releases, Joomla 4.0.0-beta to 4.4.14. See them all, or every version of this file.