Function parse_cert

Source
pub fn parse_cert(given_cert: &[u8]) -> AttestResult<X509Certificate<'_>>
Expand description

Attempts to DER decode a slice of bytes to an X509 Certificate

ยงErrors

If DER decoding of the certificate fail