CoreFiles by mySites.guru
Algorithm.php20 lines, 358 bytes, from Joomla_5.0.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 4.4.0-alpha4
md5
5af38bcc99b25f078d9a39928b8b64d8
sha1
6e61af9b1197d2cffc4b8b7be9f9b93957c4da82
sha256
d13a74924a23578e12facb3ee4a681ed1650f0a65653a95af04b90860c38ceb7
<?php

declare(strict_types=1);

namespace Jose\Component\Core;

interface Algorithm
{
    /**
     * Returns the name of the algorithm.
     */
    public function name(): string;

    /**
     * Returns the key types suitable for this algorithm (e.g. "oct", "RSA"...).
     *
     * @return string[]
     */
    public function allowedKeyTypes(): array;
}

The same content is in 22 releases, Joomla 5.0.0-alpha1 to 5.1.0-alpha4. See them all, or every version of this file.