pub fn preferred_algorithm(key: &CoseKey) -> Option<Cow<'_, Algorithm>>
Returns the preferred signature algorithm for the give COSE key.