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
pub fn parse_cert(given_cert: &[u8]) -> AttestResult<X509Certificate<'_>>
Attempts to DER decode a slice of bytes to an X509 Certificate
If DER decoding of the certificate fail