Skip to main content

ResolvedSigner

Struct ResolvedSigner 

Source
pub struct ResolvedSigner<'a, P: SignatureProvider<'a>> { /* private fields */ }
Expand description

Movable resolved identities bound to original signer/key/provider inputs.

Implementations§

Source§

impl<'a, P: SignatureProvider<'a>> ResolvedSigner<'a, P>

Source

pub fn provider(&self) -> &'a P

Exact selected provider instance that resolved this challenge.

Source

pub fn signer(&self) -> &'a SignerInfo<'a>

Original signer, including any independently retained conformance faults.

Source

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

Original effective key descriptor; no new standing key is synthesized.

Source

pub fn binding(&self) -> &ResolvedBinding<'a>

Original direct/attribute content binding.

Source

pub fn digest(&self) -> &P::Identity

Full resolved digest identity.

Source

pub fn signature(&self) -> &SignatureMode<P::SignatureIdentity>

Distinct raw/prehashed signature input contract.

Source

pub fn same_signer_value( &self, other: &Self, parent: &Reader<'_>, ) -> Result<bool, PrepareError<P::Error>>

Compares prepared signer values under this selected provider’s full algorithm/default semantics, without new resolution, state or hashing.

Both plans must belong to the same provider instance. Non-algorithm document fields use the same original-range kernel as the narrow encoded comparison, especially exact signedAttrs octets. This is a duplicate-document identity query, not equality of caller trust/key selections and not signature verification or a conformance verdict.

Auto Trait Implementations§

§

impl<'a, P> !RefUnwindSafe for ResolvedSigner<'a, P>

§

impl<'a, P> !Send for ResolvedSigner<'a, P>

§

impl<'a, P> !Sync for ResolvedSigner<'a, P>

§

impl<'a, P> !UnwindSafe for ResolvedSigner<'a, P>

§

impl<'a, P> Freeze for ResolvedSigner<'a, P>

§

impl<'a, P> Unpin for ResolvedSigner<'a, P>

§

impl<'a, P> UnsafeUnpin for ResolvedSigner<'a, P>

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.