Skip to main content

Properties

Struct Properties 

Source
pub struct Properties<'a> { /* private fields */ }
Expand description

One complete original signer’s optional property reading. Unknown open values stay visible, and a failing value does not hide later occurrences.

Implementations§

Source§

impl<'a> Properties<'a>

Source

pub fn read(signer: &SignerInfo<'a>, parent: &Reader<'a>) -> Result<Self>

Read each recognized value under its original attribute reader. Existing CMS placement/cardinality and signed-DER checks remain the CMS kernel’s responsibility; registered legacy cardinality and value schemas from EN319122-1 Annex A/D are checked here for every signer, including TSAs. This also checks baseline attribute encoding. A finding does not forbid independent CMS decoding or mathematical verification. Reference timestamp envelopes and carried TSTInfo are inspected by full preparation, retaining mapped diagnostics with the original source.

Source

pub fn faults(&self) -> &[Fault]

Every located value-schema failure, retaining its original cause.

Source

pub fn open_values(&self) -> &[OpenValue<'a>]

All original open semantic inputs, not only successfully bound ones.

Source

pub fn policy(&self) -> Option<&Policy<'a>>

Parsed written policy; no hash comparison or policy acceptance implied.

Source

pub fn store(&self) -> Option<&Store<'a>>

Parsed original store; no file or URI is accessed by reading it.

Source

pub fn legacy_values(&self) -> Option<&Values<'a>>

Original legacy validation models, retained once without copying their bytes. An empty written value set remains distinct from absence.

Auto Trait Implementations§

§

impl<'a> !Freeze for Properties<'a>

§

impl<'a> !RefUnwindSafe for Properties<'a>

§

impl<'a> !Send for Properties<'a>

§

impl<'a> !Sync for Properties<'a>

§

impl<'a> !UnwindSafe for Properties<'a>

§

impl<'a> Unpin for Properties<'a>

§

impl<'a> UnsafeUnpin for Properties<'a>

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.