[][src]Struct rpki::crl::CrlEntry

pub struct CrlEntry { /* fields omitted */ }

An entry in the revoked certificates list.

Methods

impl CrlEntry[src]

pub fn new(user_certificate: Serial, revocation_date: Time) -> Self[src]

Creates a new CrlEntry for inclusion on a new Crl

pub fn take_from<S: Source>(cons: &mut Constructed<S>) -> Result<Self, S::Err>[src]

Takes a single CRL entry from the beginning of a constructed value.

pub fn take_opt_from<S: Source>(
    cons: &mut Constructed<S>
) -> Result<Option<Self>, S::Err>
[src]

Takes an optional CRL entry from the beginning of a contructed value.

pub fn from_constructed<S: Source>(
    cons: &mut Constructed<S>
) -> Result<Self, S::Err>
[src]

Parses the content of a CRL entry.

pub fn encode(self) -> impl Values[src]

Returns a value encoder for the entry.

Trait Implementations

impl Clone for CrlEntry[src]

impl Copy for CrlEntry[src]

impl Debug for CrlEntry[src]

impl FromStr for CrlEntry[src]

type Err = RepresentationError

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]