CoreFiles by mySites.guru
RS256.php27 lines, 475 bytes, from Joomla_4.4.0-Stable-Full_Package.zip
Raw History Compare with 4.3.4
md5
8db4090be991167219675e98c8b9dd18
sha1
3e3f7fb2038c09d577756bb6690fb3fe17c4181d
sha256
47941a1d1b5a2f8a2aa930b5b4acb01b1bf886f404b6b21271046be1d9df5aec
<?php

declare(strict_types=1);

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

namespace Jose\Component\Signature\Algorithm;

final class RS256 extends RSAPKCS1
{
    public function name(): string
    {
        return 'RS256';
    }

    protected function getAlgorithm(): string
    {
        return 'sha256';
    }
}

The same content is in 75 releases, Joomla 4.2.0-beta3 to 4.4.14. See them all, or every version of this file.