PHP Trait Jose\Behaviour\HasKeyChecker

Datei anzeigen Open project: spomky-labs/jose

Protected Methods

Method Description
checkKeyAlgorithm ( Jose\Object\JWKInterface $key, string $algorithm )
checkKeyUsage ( Jose\Object\JWKInterface $key, string $usage ) : boolean

Private Methods

Method Description
checkOperation ( Jose\Object\JWKInterface $key, string $usage ) : boolean
checkUsage ( Jose\Object\JWKInterface $key, string $usage ) : boolean

Method Details

checkKeyAlgorithm() protected method

protected checkKeyAlgorithm ( Jose\Object\JWKInterface $key, string $algorithm )
$key Jose\Object\JWKInterface
$algorithm string

checkKeyUsage() protected method

protected checkKeyUsage ( Jose\Object\JWKInterface $key, string $usage ) : boolean
$key Jose\Object\JWKInterface
$usage string
return boolean