Function x509_parser::parse_x509_certificate

source ยท
pub fn parse_x509_certificate(i: &[u8]) -> X509Result<'_, X509Certificate<'_>>
Expand description

Parse a DER-encoded X.509 Certificate, and return the remaining of the input and the built object.

This function is an alias to X509Certificate::from_der. See this function for more information.

For PEM-encoded certificates, use the pem module.