pub fn validate_matching_key(
key: &EncodingKey,
algorithm: Algorithm,
) -> Result<()>
Expand description
Validates that the key can be used with the given algorithm
pub fn validate_matching_key(
key: &EncodingKey,
algorithm: Algorithm,
) -> Result<()>
Validates that the key can be used with the given algorithm