public function getSelectedAlgorithmMethods(array $selected_algorithms)
    {
        $result = [];
        foreach ($selected_algorithms as $algorithm) {
            Assertion::keyExists($this->algorithms, $algorithm, sprintf('The algorithm "%s" is not supported.', $algorithm));
            $result[] = $this->algorithms[$algorithm];
        }

        return $result;
    }
public function getSelectedAlgorithmMethods(array $selected_algorithms)
    {
        $result = [];
        foreach ($selected_algorithms as $algorithm) {
            Assertion::keyExists($this->algorithms, $algorithm, sprintf('The algorithm "%s" is not supported.', $algorithm));
            $result[] = $this->algorithms[$algorithm];
        }

        return $result;
    }
@param string[] $selected_algorithms

@return \Jose\Algorithm\JWAInterface[]