PHP Class Jose\Algorithm\Signature\RSA

Inheritance: implements Jose\Algorithm\SignatureAlgorithmInterface
Exibir arquivo Open project: spomky-labs/jose

Public Methods

Method Description
sign ( Jose\Object\JWKInterface $key, $input )
verify ( Jose\Object\JWKInterface $key, $input, $signature )

Protected Methods

Method Description
getAlgorithm ( ) : mixed
getSignatureMethod ( ) : mixed

Private Methods

Method Description
checkKey ( Jose\Object\JWKInterface $key )

Method Details

getAlgorithm() abstract protected method

abstract protected getAlgorithm ( ) : mixed
return mixed

getSignatureMethod() abstract protected method

abstract protected getSignatureMethod ( ) : mixed
return mixed

sign() public method

public sign ( Jose\Object\JWKInterface $key, $input )
$key Jose\Object\JWKInterface

verify() public method

public verify ( Jose\Object\JWKInterface $key, $input, $signature )
$key Jose\Object\JWKInterface