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

pub struct SignedMessage { /* fields omitted */ }

A protocol CMS.

This is a signed CMS object that contains XML messages used in the provisioning and publication protocols, and that is signed using an EE IdCert, signed under a TA IdCert.

Implementations

impl SignedMessage[src]

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

impl SignedMessage[src]

pub fn content(&self) -> &OctetString[src]

impl SignedMessage[src]

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

impl SignedMessage[src]

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

Validates the signed message.

The requirements for an object to be valid are given in section 3 of [RFC 6488].

pub fn validate_at(
    &self,
    issuer: &IdCert,
    now: Time
) -> Result<(), ValidationError>
[src]

Validates a signed message for a given point in time.

Trait Implementations

impl Clone for SignedMessage[src]

impl Debug for SignedMessage[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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 = 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.