Skip to main content

parse_allowed_algs

Function parse_allowed_algs 

Source
fn parse_allowed_algs(value: Option<&Value>) -> Result<Vec<Algorithm>, String>
Expand description

Parses token_signing_alg_values_expected (string, comma/space list, or array) into the allowed-algorithm set, defaulting to the common asymmetric algorithms.