Current File : //var/www/vinorea/vendor/lcobucci/jwt/src/Signer/Ecdsa/ConversionFailed.php
<?php

namespace Lcobucci\JWT\Signer\Ecdsa;

use InvalidArgumentException;
use Lcobucci\JWT\Exception;

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

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

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