rocket::mtls::x509

Function parse_x509_crl

Source
pub fn parse_x509_crl(
    i: &[u8],
) -> Result<(&[u8], CertificateRevocationList<'_>), Err<X509Error>>
Available on crate feature mtls only.
Expand description

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

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