pub struct Basic<'r, 'v, 'p, 'm, 'd, 'a, 's, 'path, D, G> { /* private fields */ }Expand description
Complete root and original nested counter composition. Reuses the same source-domain receipts later consumed by the common LTV participant core.
Implementations§
Source§impl<D: Copy + Eq, G: Copy + Eq> Basic<'_, '_, '_, '_, '_, '_, '_, '_, D, G>
impl<D: Copy + Eq, G: Copy + Eq> Basic<'_, '_, '_, '_, '_, '_, '_, '_, D, G>
Sourcepub fn all_basic_requirements_met(&self) -> bool
pub fn all_basic_requirements_met(&self) -> bool
Mandatory format, actual PDF input math and whole counter census hold. This is independent of trusted time, revocation usability and trust.
Source§impl<'r, 'v, 'p, 'm, 'd, 'a, 's, 'path, D: Copy + Eq, G: Copy + Eq> Basic<'r, 'v, 'p, 'm, 'd, 'a, 's, 'path, D, G>
impl<'r, 'v, 'p, 'm, 'd, 'a, 's, 'path, D: Copy + Eq, G: Copy + Eq> Basic<'r, 'v, 'p, 'm, 'd, 'a, 's, 'path, D, G>
Sourcepub fn binding(&self) -> &'r Bound<'v, 'p, 'm, 'd, 'a, 's, 'path, D, G>
pub fn binding(&self) -> &'r Bound<'v, 'p, 'm, 'd, 'a, 's, 'path, D, G>
Actual original signer/certificate/path binding used by this stage.
Sourcepub fn counters(&self) -> &Counters<'r, 'm, 'd, 'path, D, G>
pub fn counters(&self) -> &Counters<'r, 'm, 'd, 'path, D, G>
The complete original counter receipt set, without caller subsetting.
Sourcepub fn timestamp_actor<'c>(
&self,
actor: CheckedActor<'c, 'd, Node, DocumentId<'m, 'd>, (), Cades>,
operation: &impl Work,
) -> Result<CheckedActor<'c, 'd, Node, D, G, Pades>>
pub fn timestamp_actor<'c>( &self, actor: CheckedActor<'c, 'd, Node, DocumentId<'m, 'd>, (), Cades>, operation: &impl Work, ) -> Result<CheckedActor<'c, 'd, Node, D, G, Pades>>
Carries an already checked original CMS timestamp into this PDF’s
source domain. The original model, parent signature and exact input
remain checked by the shared CAdES receipt, without cryptographic replay.
Source§impl<'m, 'd, 'p, 's, D: Copy + Eq, G: Copy + Eq> Basic<'_, '_, '_, 'm, 'd, '_, 's, 'p, D, G>
impl<'m, 'd, 'p, 's, D: Copy + Eq, G: Copy + Eq> Basic<'_, '_, '_, 'm, 'd, '_, 's, 'p, D, G>
Sourcepub fn participants<'r, 'certificate, E, S: RangeSource<Document = D, Generation = G>>(
&'p self,
credentials: &'p Complete<'r, 'm, 'd, 'p, D, G, E>,
timestamps: &'p TimestampPaths<'p, 'certificate, 'd, Node, D, G, Pades>,
query: &Query<'_, '_, S>,
) -> Result<ParticipantRequirements<'p, 'd, Node, D, G, Pades>, ParticipantError<Node>>
pub fn participants<'r, 'certificate, E, S: RangeSource<Document = D, Generation = G>>( &'p self, credentials: &'p Complete<'r, 'm, 'd, 'p, D, G, E>, timestamps: &'p TimestampPaths<'p, 'certificate, 'd, Node, D, G, Pades>, query: &Query<'_, '_, S>, ) -> Result<ParticipantRequirements<'p, 'd, Node, D, G, Pades>, ParticipantError<Node>>
Derives the original complete participant census from the SAME root, all counters, authenticated credentials and complete TSA-path receipt. No caller-defined positive receipt or selected successful subset is used.
Sourcepub fn authenticate_credentials<P: Provider<'p, 'd>, S: RangeSource<Document = D, Generation = G>>(
&self,
provider: &P,
query: &Query<'_, '_, S>,
) -> Result<Report<'m, 'd, 'p, 's, D, G, P::Evidence>, Error<P::Error>>
pub fn authenticate_credentials<P: Provider<'p, 'd>, S: RangeSource<Document = D, Generation = G>>( &self, provider: &P, query: &Query<'_, '_, S>, ) -> Result<Report<'m, 'd, 'p, 's, D, G, P::Evidence>, Error<P::Error>>
Authenticates every original protected credential using the shared
property kernel and this operation’s actual scoped producing reader.
PAdES root requirements are checked before the first handler call.