1 | <?php |
||
19 | final class JWKSets extends BaseJWKSet implements JWKSetsInterface |
||
20 | { |
||
21 | use JWKSetPEM; |
||
22 | |||
23 | /** |
||
24 | * @var \Jose\Object\JWKSetInterface[] |
||
25 | */ |
||
26 | private $jwksets = []; |
||
27 | |||
28 | /** |
||
29 | * JWKSets constructor. |
||
30 | * |
||
31 | * @param \Jose\Object\JWKSetInterface[] $jwksets |
||
32 | */ |
||
33 | public function __construct(array $jwksets = []) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function addKeySet(JWKSetInterface $jwkset) |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getKeys() |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public function addKey(JWKInterface $key) |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function prependKey(JWKInterface $key) |
||
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | */ |
||
84 | public function removeKey($index) |
||
88 | } |
||
89 |