pub fn parse_algorithmid(asn1: &[u8]) -> Result<SignatureScheme, Error>
Expand description
Parse the ASN.1 DER-encoded algorithm identifier in asn1
into a
SignatureScheme
. This will fail if asn1
is not a known signature scheme.
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.