pub struct QcStatements<'a> { /* private fields */ }Expand description
The statements a certificate carries.
Implementations§
Source§impl<'a> QcStatements<'a>
impl<'a> QcStatements<'a>
Sourcepub fn memory(&self) -> &Memory
pub fn memory(&self) -> &Memory
Account retaining the statement collection’s storage. Deferred decoding uses the explicitly supplied current execution domain.
Sourcepub fn statements(&self) -> &[QcStatement<'a>]
pub fn statements(&self) -> &[QcStatement<'a>]
Every statement, in order.
Sourcepub fn get<W: Work>(
&self,
kind: Oid<'_>,
execution: &W,
) -> Result<Option<QcStatement<'a>>>
pub fn get<W: Work>( &self, kind: Oid<'_>, execution: &W, ) -> Result<Option<QcStatement<'a>>>
One statement by identifier, for the ones this crate does not read.
Sourcepub fn claims_compliance<W: Work>(&self, execution: &W) -> Result<bool>
pub fn claims_compliance<W: Work>(&self, execution: &W) -> Result<bool>
Whether the issuer claims this is a qualified certificate.
A claim, not a finding. The trusted list decides.
Sourcepub fn claims_qualified_device<W: Work>(&self, execution: &W) -> Result<bool>
pub fn claims_qualified_device<W: Work>(&self, execution: &W) -> Result<bool>
Whether the issuer claims the private key is held in a qualified device.
Sourcepub fn types<W: Work>(&self, execution: &W) -> Result<OwnedVec<QualifiedType>>
pub fn types<W: Work>(&self, execution: &W) -> Result<OwnedVec<QualifiedType>>
Which kinds of qualified certificate this claims to be.
This is what separates a signature made by a person from a seal made by an organization, which is a difference the report must never collapse.
Sourcepub fn retention_period<W: Work>(
&self,
execution: &W,
) -> Result<Option<RetentionPeriod>>
pub fn retention_period<W: Work>( &self, execution: &W, ) -> Result<Option<RetentionPeriod>>
How long the issuer says it keeps what is needed to check this certificate, in years.
Sourcepub fn semantics<W: Work>(&self, execution: &W) -> Result<Option<Oid<'a>>>
pub fn semantics<W: Work>(&self, execution: &W) -> Result<Option<Oid<'a>>>
Which kind of person the subject’s identifiers are to be read as.
Says how to read an organization identifier or a serial number in the subject’s name, and getting it wrong turns an organization into a person or the reverse.