[−][src]Struct rpki::crl::RevokedCertificates
The list of revoked certificates.
A value of this type wraps the bytes of the DER encoded list. You can
check whether a certain serial number is part of this list via the
contains
method.
Methods
impl RevokedCertificates
[src]
pub fn take_from<S: Source>(cons: &mut Constructed<S>) -> Result<Self, S::Err>
[src]
Takes a revoked certificates list from the beginning of a value.
pub fn contains(&self, serial: &Unsigned) -> bool
[src]
Returns whether the given serial number is contained on this list.
The method walks over the list, decoding it on the fly and checking each entry.
ⓘImportant traits for RevokedCertificatesIterpub fn iter(&self) -> RevokedCertificatesIter
[src]
ⓘImportant traits for RevokedCertificatesIter
Returns an iterator over the entries in the list.
Trait Implementations
impl Clone for RevokedCertificates
[src]
fn clone(&self) -> RevokedCertificates
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RevokedCertificates
[src]
Auto Trait Implementations
impl Send for RevokedCertificates
impl Sync for RevokedCertificates
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,