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>
impl<'a> Properties<'a>
Sourcepub fn read(signer: &SignerInfo<'a>, parent: &Reader<'a>) -> Result<Self>
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.
Sourcepub fn faults(&self) -> &[Fault]
pub fn faults(&self) -> &[Fault]
Every located value-schema failure, retaining its original cause.
Sourcepub fn open_values(&self) -> &[OpenValue<'a>]
pub fn open_values(&self) -> &[OpenValue<'a>]
All original open semantic inputs, not only successfully bound ones.
Sourcepub fn policy(&self) -> Option<&Policy<'a>>
pub fn policy(&self) -> Option<&Policy<'a>>
Parsed written policy; no hash comparison or policy acceptance implied.
Sourcepub fn store(&self) -> Option<&Store<'a>>
pub fn store(&self) -> Option<&Store<'a>>
Parsed original store; no file or URI is accessed by reading it.
Sourcepub fn legacy_values(&self) -> Option<&Values<'a>>
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.