CoreFiles by mySites.guru
Signature.php15 lines, 297 bytes, from Joomla_6.2.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 6.2.0-alpha1
md5
791ed7202eefc32f2bb04bc2a0dd3a50
sha1
77e99bfe402dcb0430aeb61c0b81359ead55a0b1
sha256
ba8e32fed6515f2c75cb685b5025e75c56dc80e83b7439516c17d5025e202d13
<?php

declare(strict_types=1);

namespace Cose\Algorithm\Signature;

use Cose\Algorithm\Algorithm;
use Cose\Key\Key;

interface Signature extends Algorithm
{
    public function sign(string $data, Key $key): string;

    public function verify(string $data, Key $key, string $signature): bool;
}

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.