CoreFiles by mySites.guru
PS256.php31 lines, 550 bytes, from Joomla_4.2.8-Stable-Full_Package.zip
Raw History Compare with 4.2.7
md5
ee28d362e059178fa1be443503acd91a
sha1
8659169ac13afb1410eff9ccc38eb6d989f135bf
sha256
11ad1edceeeb8e4f92d451a13de93707b31fb0b6e80fd47fd92a8042e005afd5
<?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;

use Jose\Component\Core\Util\Hash;

final class PS256 extends PSSRSA
{
    public const ID = -37;

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

    protected function getHashAlgorithm(): Hash
    {
        return Hash::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.