Sindbad~EG File Manager

Current Path : /var/www/html/apiprodescolacandidatos.eagledigital.com.br/vendor/lcobucci/jwt/src/Signer/
Upload File :
Current File : /var/www/html/apiprodescolacandidatos.eagledigital.com.br/vendor/lcobucci/jwt/src/Signer/Rsa.php

<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer;

use const OPENSSL_KEYTYPE_RSA;

abstract class Rsa extends OpenSSL
{
    final public function sign(string $payload, Key $key): string
    {
        return $this->createSignature($key->contents(), $key->passphrase(), $payload);
    }

    final public function verify(string $expected, string $payload, Key $key): bool
    {
        return $this->verifySignature($expected, $payload, $key->contents());
    }

    final public function keyType(): int
    {
        return OPENSSL_KEYTYPE_RSA;
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists