pub fn algorithm_from_string(s: &str) -> Result<Algorithm>Expand description
Parses a COSE algorithm string name back to its enum representation.
Accepts standard names (EdDSA, ES256, etc.) and the fallback format
COSE_ALG_<id> for numeric algorithm identifiers.