pub fn algorithm_for_schemes(
schemes: &[SignatureScheme],
) -> Option<SignatureAlgorithm>Expand description
Determine the common SignatureAlgorithm for a list of schemes.
Returns None if the list is empty or contains schemes from mixed algorithm families
(e.g., both RSA and ECDSA).