Skip to main content

PathDigests

Struct PathDigests 

Source
pub struct PathDigests<'view, 'document, N, D, G> { /* private fields */ }
Expand description

Complete digest processing against exactly this original checked path. This does not replace selected-key binding, optional hint syntax, scalar validation, revocation or policy acceptance with certificate hash agreement.

Implementations§

Source§

impl<'view, 'document, N, D, G> PathDigests<'view, 'document, N, D, G>

Source

pub fn references(&self) -> &'view References<N, D, G>

Same authenticated signed-reference catalogue whose digests were read.

Source

pub fn path(&self) -> &'view CheckedPath<'document>

Actual common-validator path used for every candidate.

Source

pub fn entries(&self) -> &[PathDigest]

Each original reference, including unsupported/malformed/unmatched ones.

Source

pub fn all_match(&self) -> bool

Whether the first digest matches the target and all other digests match a certificate in this path. This alone is not a baseline-level verdict.

Auto Trait Implementations§

§

impl<'view, 'document, N, D, G> !Freeze for PathDigests<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !RefUnwindSafe for PathDigests<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !Send for PathDigests<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !Sync for PathDigests<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !UnwindSafe for PathDigests<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> Forget for PathDigests<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> Unpin for PathDigests<'view, 'document, N, D, G>
where &'view References<N, D, G>: Unpin,

§

impl<'view, 'document, N, D, G> UnsafeUnpin for PathDigests<'view, 'document, N, D, G>
where &'view References<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.