Function x509_parser::parse_x509_certificate
source · [−]pub fn parse_x509_certificate<'a>(
i: &'a [u8]
) -> X509Result<'_, X509Certificate<'a>>
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.