protected checkKey ( Jose\Object\JWKInterface $key ) | ||
$key | Jose\Object\JWKInterface |
protected function checkKey(JWKInterface $key)
{
Assertion::eq($key->get('kty'), 'oct', 'Wrong key type.');
Assertion::true($key->has('k'), 'The key parameter "k" is missing.');
}