Skip to main content

Basic

Struct Basic 

Source
pub struct Basic<'receipt, 'prepared, 'model, 'document, 'path> { /* private fields */ }
Expand description

Same-source root field/certificate/math and complete counter composition. The report preserves its inputs and does not assert timestamp chronology, status usability, optional-policy acceptance or caller trust.

Implementations§

Source§

impl<'r, 'p, 'm, 'd, 'v> Basic<'r, 'p, 'm, 'd, 'v>

Source

pub fn binding(&self) -> &'r SignerBinding<'p, 'm, 'd, 'v>

Actual selected original certificate/signature binding, without replay.

Source

pub fn counter_paths(&self) -> &Paths<'r, 'm, 'd, 'v>

Every original counter’s already checked actual path.

Source

pub fn into_counters(self) -> Paths<'r, 'm, 'd, 'v>

Transfers the already checked complete counter census without copying. A containing format can compose its own root-field requirements while preserving the existing original CMS member and path associations.

Source

pub fn all_basic_requirements_met(&self) -> bool

Only mandatory B-B format and original root/counter mathematical binding. A higher requested profile’s missing timestamp cannot erase this fact.

Trait Implementations§

Source§

impl<'r, 'p, 'm, 'd, 'v> BasicStage<'v, 'd> for Basic<'r, 'p, 'm, 'd, 'v>

Source§

type Id = Node

Original node identity.
Source§

type Document = DocumentId<'m, 'd>

Stable document identity.
Source§

type Generation = ()

Exact document generation.
Source§

type Signer = SignerBinding<'p, 'm, 'd, 'v>

The signing-certificate binding receipt.
Source§

type Counters = Paths<'r, 'm, 'd, 'v>

The complete countersignature census.
Source§

fn signer(&self) -> &Self::Signer

Same signer receipt the stage checked.
Source§

fn counters(&self) -> &Self::Counters

Same countersignature census the stage checked.
Source§

fn all_requirements_met(&self) -> bool

Every condition of the format’s basic level holds.

Auto Trait Implementations§

§

impl<'receipt, 'prepared, 'model, 'document, 'path> !RefUnwindSafe for Basic<'receipt, 'prepared, 'model, 'document, 'path>

§

impl<'receipt, 'prepared, 'model, 'document, 'path> !Send for Basic<'receipt, 'prepared, 'model, 'document, 'path>

§

impl<'receipt, 'prepared, 'model, 'document, 'path> !Sync for Basic<'receipt, 'prepared, 'model, 'document, 'path>

§

impl<'receipt, 'prepared, 'model, 'document, 'path> !UnwindSafe for Basic<'receipt, 'prepared, 'model, 'document, 'path>

§

impl<'receipt, 'prepared, 'model, 'document, 'path> Forget for Basic<'receipt, 'prepared, 'model, 'document, 'path>

§

impl<'receipt, 'prepared, 'model, 'document, 'path> Freeze for Basic<'receipt, 'prepared, 'model, 'document, 'path>

§

impl<'receipt, 'prepared, 'model, 'document, 'path> Unpin for Basic<'receipt, 'prepared, 'model, 'document, 'path>

§

impl<'receipt, 'prepared, 'model, 'document, 'path> UnsafeUnpin for Basic<'receipt, 'prepared, 'model, 'document, 'path>

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.