| 1 | <?php |
||
| 17 | final class AlgorithmManager |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var \Jose\Algorithm\JWAInterface[] |
||
| 21 | */ |
||
| 22 | private $algorithms = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \Jose\Algorithm\JWAInterface $algorithm |
||
| 26 | */ |
||
| 27 | public function addAlgorithm(JWAInterface $algorithm) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string[] $selected_algorithms |
||
| 37 | * |
||
| 38 | * @return \Jose\Algorithm\JWAInterface[] |
||
| 39 | */ |
||
| 40 | public function getSelectedAlgorithmMethods(array $selected_algorithms) |
||
| 50 | } |
||
| 51 |