[][src]Struct krill::commons::remote::sigmsg::SigMsgCrl

pub struct SigMsgCrl { /* fields omitted */ }

An RPKI certificate revocation list used in RFC6492 and RFC8181 protocol signed messages.

Methods

impl SigMsgCrl[src]

pub fn decode<S: Source>(source: S) -> Result<Self, S::Err>[src]

Parses a source as a certificate revocation list.

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

Takes an encoded CRL from the beginning of a constructed value.

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

Parses the content of a certificate revocation list.

pub fn validate(&self, public_key: &PublicKey) -> Result<(), ValidationError>[src]

Validates the certificate revocation list.

The list’s signature is validated against the provided public key.

pub fn encode_ref<'a>(&'a self) -> impl Values + 'a[src]

pub fn to_captured(&self) -> Captured[src]

Returns a captured encoding of the CRL.

Trait Implementations

impl Clone for SigMsgCrl[src]

impl Debug for SigMsgCrl[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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 = !

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]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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