Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
iNetty /
vendor /
lcobucci /
jwt /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Claim
[ DIR ]
drwxr-xr-x
2022-04-21 14:19
Encoding
[ DIR ]
drwxr-xr-x
2022-04-21 14:19
Parsing
[ DIR ]
drwxr-xr-x
2022-04-21 14:19
Signer
[ DIR ]
drwxr-xr-x
2022-04-21 14:20
Token
[ DIR ]
drwxr-xr-x
2022-04-21 14:20
Validation
[ DIR ]
drwxr-xr-x
2022-04-21 14:20
Builder.php
14.81
KB
-rw-r--r--
2022-04-21 14:19
Claim.php
732
B
-rw-r--r--
2022-04-21 14:19
Configuration.php
3.89
KB
-rw-r--r--
2022-04-21 14:19
Exception.php
165
B
-rw-r--r--
2022-04-21 14:19
Parser.php
4.22
KB
-rw-r--r--
2022-04-21 14:19
Signature.php
1.72
KB
-rw-r--r--
2022-04-21 14:19
Signer.php
1.26
KB
-rw-r--r--
2022-04-21 14:19
Token.php
9.97
KB
-rw-r--r--
2022-04-21 14:19
ValidationData.php
2.66
KB
-rw-r--r--
2022-04-21 14:19
Validator.php
515
B
-rw-r--r--
2022-04-21 14:19
Save
Rename
<?php /** * This file is part of Lcobucci\JWT, a simple library to handle JWT and JWS * * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause */ namespace Lcobucci\JWT; use Lcobucci\JWT\Signer\Key; /** * This class represents a token signature * * @author Luís Otávio Cobucci Oblonczyk <lcobucci@gmail.com> * @since 0.1.0 */ class Signature { /** * The resultant hash * * @var string */ protected $hash; /** @var string */ private $encoded; /** * Initializes the object * * @param string $hash * @param string $encoded */ public function __construct($hash, $encoded = '') { $this->hash = $hash; $this->encoded = $encoded; } /** @return self */ public static function fromEmptyData() { return new self('', ''); } /** * Verifies if the current hash matches with with the result of the creation of * a new signature with given data * * @param Signer $signer * @param string $payload * @param Key|string $key * * @return boolean */ public function verify(Signer $signer, $payload, $key) { return $signer->verify($this->hash, $payload, $key); } /** * Returns the current hash as a string representation of the signature * * @deprecated This method has been removed from the public API in v4 * @see Signature::hash() * * @return string */ public function __toString() { return $this->hash; } /** @return string */ public function hash() { return $this->hash; } /** @return string */ public function toString() { return $this->encoded; } }