Skip to main content

CheckedActor

Struct CheckedActor 

Source
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>

Source

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.

Source

pub fn certificate(&self) -> &'certificate Certificate<'document>

Actual candidate used for the successful token signature/ESS checks.

Source

pub fn key(&self) -> WorkingKey<'document>

Actual effective parameters supplied to that same selected provider.

Source

pub fn verified(&self) -> &Verified<N, D, G, I>

Independently retained mathematical evidence with original identity.

Source

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.

Auto Trait Implementations§

§

impl<'certificate, 'document, N, D, G, I> !Freeze for CheckedActor<'certificate, 'document, N, D, G, I>

§

impl<'certificate, 'document, N, D, G, I> !RefUnwindSafe for CheckedActor<'certificate, 'document, N, D, G, I>

§

impl<'certificate, 'document, N, D, G, I> !Send for CheckedActor<'certificate, 'document, N, D, G, I>

§

impl<'certificate, 'document, N, D, G, I> !Sync for CheckedActor<'certificate, 'document, N, D, G, I>

§

impl<'certificate, 'document, N, D, G, I> !UnwindSafe for CheckedActor<'certificate, 'document, N, D, G, I>

§

impl<'certificate, 'document, N, D, G, I> Unpin for CheckedActor<'certificate, 'document, N, D, G, I>
where Verified<N, D, G, I>: Unpin,

§

impl<'certificate, 'document, N, D, G, I> UnsafeUnpin for CheckedActor<'certificate, 'document, N, D, G, I>
where Verified<N, D, G, I>: UnsafeUnpin,

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.