PHP Class Emarref\Jwt\Algorithm\RsaSsaPkcs

Inheritance: implements Emarref\Jwt\Algorithm\AsymmetricInterface
Show file Open project: emarref/jwt

Public Methods

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

Protected Methods

Method Description
getAlgorithm ( ) : integer

Private Methods

Method Description
getSslErrors ( ) : array

Method Details

__construct() public method

public __construct ( )

ensureSupport() public method

public ensureSupport ( )

getAlgorithm() abstract protected method

abstract protected getAlgorithm ( ) : integer
return integer

sign() public method

public sign ( string $value, string | resource $privateKey ) : string
$value string
$privateKey string | resource
return string

verify() public method

public verify ( string $value, string $signature, string | resource $publicKey ) : boolean
$value string
$signature string
$publicKey string | resource
return boolean