CoreFiles by mySites.guru
RS1.php29 lines, 514 bytes, from Joomla_4.2.7-Stable-Full_Package.zip
Raw History Compare with 4.2.6
md5
2b31e36534475e7cdf10b3b08faadf9e
sha1
f56018e4f515845b98e10349f36cc5d9888f6a12
sha256
31bfd0725b7629fc1e96ddc52e5b75e1441d3cb2b0b3dabaddbbac19e13321a0
<?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 RS1 extends RSA
{
    public const ID = -65535;

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

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

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.