1 | <?php |
||
17 | final class PublicJWKSet extends BaseJWKSet implements JWKSetInterface |
||
18 | { |
||
19 | use JWKSetPEM; |
||
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 prependKey(JWKInterface $key) |
||
68 | |||
69 | /** |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | public function removeKey($index) |
||
76 | } |
||
77 |