Skip to main content

RootPathReferences

Struct RootPathReferences 

Source
pub struct RootPathReferences<'prepared, 'path, 'document, N, D, G> { /* private fields */ }
Expand description

Root certificate rules of Annex A.1.1(1–2), bound to the actual selected path. Optional TSA/status-authority references, exclusive credential CAs, incorporated presence and authentication/status remain separate checks.

Implementations§

Source§

impl<'p, 'v, 'd, N: Copy, D: Copy, G: Copy> RootPathReferences<'p, 'v, 'd, N, D, G>

Source

pub fn prepared(&self) -> &'p Preparation<N, D, G>

Same original root preparation, without replaying signature verification.

Source

pub fn path(&self) -> &'v CheckedPath<'d>

Actual checked path associated with the selected root key/certificate.

Source

pub fn rows(&self) -> &[RootReferenceRow<N>]

Every original ordinary certificate reference, including unsupported ones.

Source

pub fn comparisons(&self, row: usize) -> Option<&[Agreement]>

Each row compares the anchor (if certificate-backed), then every member in issuer-to-target order. The target is the forbidden signing certificate.

Source

pub fn candidate( &self, index: usize, ) -> Option<(PathCertificate, &'v Certificate<'d>)>

Original candidate role and bytes without scanning or reparsing them.

Source

pub fn root_path_rules_met(&self) -> bool

Only A.1.1(1–2): every existing anchor/CA certificate was referenced and every entry excludes the signing certificate. This is NOT all Annex A rules, presence, status, application trust or a baseline grade.

Auto Trait Implementations§

§

impl<'prepared, 'path, 'document, N, D, G> !Freeze for RootPathReferences<'prepared, 'path, 'document, N, D, G>

§

impl<'prepared, 'path, 'document, N, D, G> !RefUnwindSafe for RootPathReferences<'prepared, 'path, 'document, N, D, G>

§

impl<'prepared, 'path, 'document, N, D, G> !Send for RootPathReferences<'prepared, 'path, 'document, N, D, G>

§

impl<'prepared, 'path, 'document, N, D, G> !Sync for RootPathReferences<'prepared, 'path, 'document, N, D, G>

§

impl<'prepared, 'path, 'document, N, D, G> !UnwindSafe for RootPathReferences<'prepared, 'path, 'document, N, D, G>

§

impl<'prepared, 'path, 'document, N, D, G> Forget for RootPathReferences<'prepared, 'path, 'document, N, D, G>

§

impl<'prepared, 'path, 'document, N, D, G> Unpin for RootPathReferences<'prepared, 'path, 'document, N, D, G>
where &'prepared Preparation<N, D, G>: Unpin, OwnedVec<RootReferenceRow<N>>: Unpin,

§

impl<'prepared, 'path, 'document, N, D, G> UnsafeUnpin for RootPathReferences<'prepared, 'path, 'document, N, D, G>
where &'prepared Preparation<N, D, G>: UnsafeUnpin, OwnedVec<RootReferenceRow<N>>: 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.