rocket::mtls::x509

Function parse_x509_der

Source
pub fn parse_x509_der(
    i: &[u8],
) -> Result<(&[u8], X509Certificate<'_>), Err<X509Error>>
👎Deprecated since 0.9.0: please use parse_x509_certificate or X509Certificate::from_der instead
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