Skip to main content

CarriedMaterial

Struct CarriedMaterial 

Source
pub struct CarriedMaterial<'source, N, D, G> { /* private fields */ }
Expand description

Parsed known carried material, borrowing the frozen original token sources. Embedded certificates remain available through each shared BasicResponse; token certificates remain in the already parsed SignedData catalogue.

Implementations§

Source§

impl<'source, N, D, G> CarriedMaterial<'source, N, D, G>

Source

pub fn crls(&self) -> &[Carried<CertificateList<'source>>]

Original complete and delta CRLs; pairing/authentication remain separate.

Source

pub fn responses(&self) -> &[Carried<ResponseBytes<'source>>]

Successful whole OCSP envelopes, including unsupported inner syntaxes.

Source

pub fn basic_responses(&self) -> &[Carried<BasicResponse<'source>>]

Known basic responses parsed once with their original embedded certificates.

Source

pub fn other(&self) -> &[Carried<OtherCarried<'source>>]

Original unsupported CMS formats, never counted as authenticated evidence.

Auto Trait Implementations§

§

impl<'source, N, D, G> !Freeze for CarriedMaterial<'source, N, D, G>

§

impl<'source, N, D, G> !RefUnwindSafe for CarriedMaterial<'source, N, D, G>

§

impl<'source, N, D, G> !Send for CarriedMaterial<'source, N, D, G>

§

impl<'source, N, D, G> !Sync for CarriedMaterial<'source, N, D, G>

§

impl<'source, N, D, G> !UnwindSafe for CarriedMaterial<'source, N, D, G>

§

impl<'source, N, D, G> Forget for CarriedMaterial<'source, N, D, G>

§

impl<'source, N, D, G> Unpin for CarriedMaterial<'source, N, D, G>
where TokenView<'source, N, D, G>: Unpin,

§

impl<'source, N, D, G> UnsafeUnpin for CarriedMaterial<'source, N, D, G>
where TokenView<'source, N, D, G>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

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

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.