PHP Class Emarref\Jwt\Algorithm\RsaSsaPkcs

Inheritance: implements Emarref\Jwt\Algorithm\AsymmetricInterface
Afficher le fichier Open project: emarref/jwt

Méthodes publiques

Méthode Description
__construct ( )
ensureSupport ( )
sign ( string $value, string | resource $privateKey ) : string
verify ( string $value, string $signature, string | resource $publicKey ) : boolean

Méthodes protégées

Méthode Description
getAlgorithm ( ) : integer

Private Methods

Méthode Description
getSslErrors ( ) : array

Method Details

__construct() public méthode

public __construct ( )

ensureSupport() public méthode

public ensureSupport ( )

getAlgorithm() abstract protected méthode

abstract protected getAlgorithm ( ) : integer
Résultat integer

sign() public méthode

public sign ( string $value, string | resource $privateKey ) : string
$value string
$privateKey string | resource
Résultat string

verify() public méthode

public verify ( string $value, string $signature, string | resource $publicKey ) : boolean
$value string
$signature string
$publicKey string | resource
Résultat boolean