Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | final class KeyConverter implements KeyConverterInterface |
||
17 | { |
||
18 | private JWKConverter $jwkConverter; |
||
19 | |||
20 | 3 | public function __construct(JWKConverter $jwkConverter) |
|
23 | } |
||
24 | |||
25 | 1 | public function fromJWKStoPEMS(array $jwks): array |
|
26 | { |
||
27 | 1 | return $this->jwkConverter->multipleToPEM($jwks); |
|
28 | } |
||
29 | |||
30 | 1 | public function fromJWKtoPEM(array $jwk): string |
|
33 | } |
||
34 | } |
||
35 |