Skip to main content

Basic

Struct Basic 

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

Completed original root/counter field/header/key/digest facts. Negative key, digest, inclusion and readable hint outcomes remain available. This does not claim timestamp chronology, material completeness, arbitrary open-format semantics or application policy/trust acceptance, and is not a B-T/LT/LTA.

Implementations§

Source§

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

Source

pub fn inputs(&self) -> &BasicInput<'r, 'p, 'v, 'd, N, D, G>

Same original receipt inputs, without re-verifying or copying them.

Source

pub fn included(&self) -> Option<Location<N, D, G>>

Actual exact-DER signing-certificate occurrence in the original KeyInfo.

Source

pub fn hints(&self) -> &[Hint<N, D, G>]

Every present original protected/ordinary/attribute issuer hint and its retained syntax diagnostics. Catalogue roles remain available through its source; issuer/serial agreement is not claimed by these encoding reports.

Source

pub fn all_root_requirements_met(&self) -> bool

Only the completed field/header/selected-key/digest conditions above. Optional hints must have conforming DER syntax; their contents do not replace the actual certificate digest binding (EN319132-1 §5.2.2 Note2). This constant-time getter does not scan attacker-sized hint catalogues.

Trait Implementations§

Source§

impl<'v, 'd, N: Copy, D: Copy, G: Copy> BasicStage<'v, 'd> for Basic<'_, '_, 'v, 'd, 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§

type Signer = CheckedPathCertificate<'v, 'd, N, D, G>

The signing-certificate binding receipt.
Source§

type Counters = CounterPaths<'v, 'd, N, D, G>

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, 'path, 'document, N, D, G> !Freeze for Basic<'receipt, 'prepared, 'path, 'document, N, D, G>

§

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

§

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

§

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

§

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

§

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

§

impl<'receipt, 'prepared, 'path, 'document, N, D, G> Unpin for Basic<'receipt, 'prepared, 'path, 'document, N, D, G>
where BasicInput<'receipt, 'prepared, 'path, 'document, N, D, G>: Unpin, Option<Location<N, D, G>>: Unpin, OwnedVec<Hint<N, D, G>>: Unpin,

§

impl<'receipt, 'prepared, 'path, 'document, N, D, G> UnsafeUnpin for Basic<'receipt, 'prepared, 'path, 'document, N, D, G>
where BasicInput<'receipt, 'prepared, 'path, 'document, N, D, G>: UnsafeUnpin, Option<Location<N, D, G>>: UnsafeUnpin, OwnedVec<Hint<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.