| 1 | <?php |
||
| 16 | trait HasKeyChecker |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param \Jose\Object\JWKInterface $key |
||
| 20 | * @param string $usage |
||
| 21 | * |
||
| 22 | * @throws \InvalidArgumentException |
||
| 23 | * |
||
| 24 | * @return bool |
||
| 25 | */ |
||
| 26 | private function checkKeyUsage(JWKInterface $key, $usage) |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @param \Jose\Object\JWKInterface $key |
||
| 87 | * @param string $algorithm |
||
| 88 | * |
||
| 89 | * @return bool |
||
| 90 | */ |
||
| 91 | private function checkKeyAlgorithm(JWKInterface $key, $algorithm) |
||
| 99 | } |
||
| 100 |