CoreFiles by mySites.guru
PS256.php27 lines, 411 bytes, from Joomla_6.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 5.4.10-rc1
md5
53ab60a2d2ee1977a26b7a03268c5702
sha1
6bf1a0a3a251104910393d0d55ea43d46cb6d8fb
sha256
5f2945bad9f08d3864a92e22ea887592a163ab10a5bb80945fc2bfe4b50d5e13
<?php

declare(strict_types=1);

namespace Cose\Algorithm\Signature\RSA;

use Cose\Hash;

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

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

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

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