Skip to main content

CheckedPathCertificate

Struct CheckedPathCertificate 

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

Selected original signing certificate and every original path digest. The first digest is computed once, then reused by the selected-key receipt; root composition need not call the standalone first-entry checker again.

Implementations§

Source§

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

Source

pub fn selected(&self) -> &CheckedCertificate<'view, 'document, N, D, G>

Actual selected certificate/key/digest facts from this same invocation.

Source

pub fn digests(&self) -> &PathDigests<'view, 'document, N, D, G>

All declared original digest restrictions and the actual checked path.

Source

pub fn is_bound(&self) -> bool

Selected key/certificate binding AND agreement of all path references. Scalar/hint syntax, status, temporal/trust/policy facts remain separate.

Trait Implementations§

Source§

impl<'view, 'document, N: Copy, D: Copy, G: Copy> SignerReceipt<'view, 'document> for CheckedPathCertificate<'view, 'document, N, D, G>

Source§

type Id = N

Original node identity.
Source§

type Document = D

Stable document identity.
Source§

type Generation = G

Exact document generation.
Source§

fn signature(&self) -> Location<N, D, G>

The selected signature in its exact source generation.
Source§

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

The checked signer path, or None when the format has not established the signing certificate or its signed path restrictions.

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'view, 'document, N, D, G> Unpin for CheckedPathCertificate<'view, 'document, N, D, G>
where CheckedCertificate<'view, 'document, N, D, G>: Unpin, PathDigests<'view, 'document, N, D, G>: Unpin,

§

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