Function attestation_doc_validation::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