CoreFiles by mySites.guru
ConversionFailed.php25 lines, 607 bytes, from Joomla_5.2.0-Stable-Full_Package.zip
Raw History Compare with 5.1.4
md5
d66af07b3e9905327f66a3814c87571a
sha1
3df3e3718f78afbcad572ec6f542e4277e0a0ebf
sha256
481bef6bf7daa5e3aebd673d1051224a6d7dc877542c8e6d4388fe55bf672b0f
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Ecdsa;

use InvalidArgumentException;
use Lcobucci\JWT\Exception;

final class ConversionFailed extends InvalidArgumentException implements Exception
{
    public static function invalidLength(): self
    {
        return new self('Invalid signature length.');
    }

    public static function incorrectStartSequence(): self
    {
        return new self('Invalid data. Should start with a sequence.');
    }

    public static function integerExpected(): self
    {
        return new self('Invalid data. Should contain an integer.');
    }
}

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