Skip to main content

Values

Struct Values 

Source
pub struct Values<'document, W: Work = Memory> { /* private fields */ }
Expand description

Format-defined legacy validation values. OCSP entries are ORIGINAL bare BasicOCSPResponse values (Annex A.1.4), never manufactured OCSP envelopes. Reading establishes neither authentication nor historical availability.

Implementations§

Source§

impl<'d, W: Work> Values<'d, W>

Source

pub fn certificates(&self) -> &[Located<Certificate<'d>>]

Borrowed original certificate members; traversals must use current work.

Source

pub fn crls(&self) -> &[Located<CertificateList<'d>>]

Borrowed original complete/delta CRLs; no status authentication implied.

Source

pub fn ocsp_responses(&self) -> &[Located<BasicResponse<'d>>]

Borrowed original bare OCSP basic bodies; no success envelope is invented.

Source

pub fn other_revocation(&self) -> &[OtherRevocation<'d>]

Original OID-owned values, without an invented status/format fallback.

Auto Trait Implementations§

§

impl<'document, W = Memory> !Freeze for Values<'document, W>

§

impl<'document, W = Memory> !RefUnwindSafe for Values<'document, W>

§

impl<'document, W = Memory> !Send for Values<'document, W>

§

impl<'document, W = Memory> !Sync for Values<'document, W>

§

impl<'document, W = Memory> !UnwindSafe for Values<'document, W>

§

impl<'document, W> Forget for Values<'document, W>

§

impl<'document, W> Unpin for Values<'document, W>
where OwnedVec<Located<Certificate<'document>>, W>: Unpin, OwnedVec<Located<CertificateList<'document>>, W>: Unpin, OwnedVec<Located<BasicResponse<'document>>, W>: Unpin, OwnedVec<OtherRevocation<'document>, W>: Unpin,

§

impl<'document, W> UnsafeUnpin for Values<'document, W>

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.