pub struct CheckedActor<'certificate, 'document, N, D, G, I> { /* private fields */ }Expand description
Successful mathematical timestamp check with its actual selected signer.
The certificate and effective key come from the same complete-check context,
not a later caller-supplied association; only the holder of issuer I
constructs it. This still establishes no TSA path, status or trust.
Certificate/key borrows need not retain the provider or temporary context.
Implementations§
Source§impl<'certificate, 'document, N, D, G, I> CheckedActor<'certificate, 'document, N, D, G, I>
impl<'certificate, 'document, N, D, G, I> CheckedActor<'certificate, 'document, N, D, G, I>
Sourcepub fn new(
_issuer: I,
verified: Verified<N, D, G, I>,
certificate: &'certificate Certificate<'document>,
key: WorkingKey<'document>,
) -> Self
pub fn new( _issuer: I, verified: Verified<N, D, G, I>, certificate: &'certificate Certificate<'document>, key: WorkingKey<'document>, ) -> Self
Binds evidence to the certificate and effective key its check used. Requiring the issuer value keeps a caller of the format from associating the evidence with another certificate.
Sourcepub fn certificate(&self) -> &'certificate Certificate<'document>
pub fn certificate(&self) -> &'certificate Certificate<'document>
Actual candidate used for the successful token signature/ESS checks.
Sourcepub fn key(&self) -> WorkingKey<'document>
pub fn key(&self) -> WorkingKey<'document>
Actual effective parameters supplied to that same selected provider.
Sourcepub fn verified(&self) -> &Verified<N, D, G, I>
pub fn verified(&self) -> &Verified<N, D, G, I>
Independently retained mathematical evidence with original identity.
Sourcepub fn into_verified(self) -> Verified<N, D, G, I>
pub fn into_verified(self) -> Verified<N, D, G, I>
Ends the borrowed signer association while moving independent evidence. This performs no copy/allocation and makes no subsequent TSA claim.