[−][src]Function x509_signature::parse_algorithmid
pub fn parse_algorithmid(asn1: &[u8]) -> Result<SignatureScheme, Error>
Parse the ASN.1 DER-encoded algorithm identifier in asn1
into a
SignatureScheme
. This will fail if asn1
is not a known signature scheme.