PHP Trait Jose\Behaviour\HasKeyChecker

Afficher le fichier Open project: spomky-labs/jose

Méthodes protégées

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

Private Methods

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

Method Details

checkKeyAlgorithm() protected méthode

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

checkKeyUsage() protected méthode

protected checkKeyUsage ( Jose\Object\JWKInterface $key, string $usage ) : boolean
$key Jose\Object\JWKInterface
$usage string
Résultat boolean