Function validate_matching_key

Source
pub fn validate_matching_key(
    key: &EncodingKey,
    algorithm: Algorithm,
) -> Result<()>
Expand description

Validates that the key can be used with the given algorithm