Struct CertificateRevocationList
struct CertificateRevocationList { ... }
Represents a X509 certificate revocation list.
Implementations
impl CertificateRevocationList
fn from_pem(pem: &[u8]) -> crate::Result<CertificateRevocationList>Parses a PEM encoded CRL.
Examples
# use File; # use Read; #Optional
This requires the
rustls(-...)Cargo feature enabled.fn from_pem_bundle(pem_bundle: &[u8]) -> crate::Result<Vec<CertificateRevocationList>>Creates a collection of
CertificateRevocationLists from a PEM encoded CRL bundle. Example byte sources may be.crlor.pemfiles.Examples
# use File; # use Read; #Optional
This requires the
rustls(-...)Cargo feature enabled.
impl Debug for CertificateRevocationList
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Freeze for CertificateRevocationList
impl RefUnwindSafe for CertificateRevocationList
impl Send for CertificateRevocationList
impl Sync for CertificateRevocationList
impl Unpin for CertificateRevocationList
impl UnwindSafe for CertificateRevocationList
impl<T> Any for CertificateRevocationList
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for CertificateRevocationList
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for CertificateRevocationList
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> ErasedDestructor for CertificateRevocationList
impl<T> From for CertificateRevocationList
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for CertificateRevocationList
impl<T> PolicyExt for CertificateRevocationList
fn and<P, B, E>(self: Self, other: P) -> And<T, P> where T: Policy<B, E>, P: Policy<B, E>fn or<P, B, E>(self: Self, other: P) -> Or<T, P> where T: Policy<B, E>, P: Policy<B, E>
impl<T> WithSubscriber for CertificateRevocationList
impl<T, U> Into for CertificateRevocationList
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for CertificateRevocationList
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for CertificateRevocationList
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>