Function rocket::mtls::x509::parse_x509_certificate
source ยท pub fn parse_x509_certificate(
i: &[u8],
) -> Result<(&[u8], X509Certificate<'_>), Err<X509Error>>
Available on crate feature
mtls
only.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.