| 1 | <?php |
||
| 17 | final class PublicJWKSet implements JWKSetInterface |
||
| 18 | { |
||
| 19 | use BaseJWKSet; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var \Jose\Object\JWKSetInterface |
||
| 23 | */ |
||
| 24 | private $jwkset; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * PublicJWKSet constructor. |
||
| 28 | * |
||
| 29 | * @param \Jose\Object\JWKSetInterface $jwkset |
||
| 30 | */ |
||
| 31 | public function __construct(JWKSetInterface $jwkset) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function getKeys() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * {@inheritdoc} |
||
| 55 | */ |
||
| 56 | public function addKey(JWKInterface $key) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritdoc} |
||
| 63 | */ |
||
| 64 | public function removeKey($index) |
||
| 68 | } |
||
| 69 |