Skip to main content

CounterPath

Struct CounterPath 

Source
pub struct CounterPath<'view, 'document, N, D, G> { /* private fields */ }
Expand description

One actual child-signature receipt and its selected signer’s checked path. This establishes neither revocation nor incorporation of validation data. A plain XMLDSig counter need not contain SigningCertificateV2 to enter the material census; original successful key evidence establishes its signer. The scalar original-source receipt is copied without allocation so this result can outlive a counter walk’s temporary frame. Only the independently checked path remains borrowed; no temporary XML view is retained.

Implementations§

Source§

impl<'view, 'document, N, D, G> CounterPath<'view, 'document, N, D, G>

Source

pub fn counter(&self) -> &Checked<N, D, G>

Original actual child/parent SignatureValue coverage receipt.

Source

pub fn path(&self) -> &'view CheckedPath<'document>

Original checked path associated with the child’s successful key.

Auto Trait Implementations§

§

impl<'view, 'document, N, D, G> !RefUnwindSafe for CounterPath<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !Send for CounterPath<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !Sync for CounterPath<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !UnwindSafe for CounterPath<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> Forget for CounterPath<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> Freeze for CounterPath<'view, 'document, N, D, G>
where Checked<N, D, G>: Freeze,

§

impl<'view, 'document, N, D, G> Unpin for CounterPath<'view, 'document, N, D, G>
where Checked<N, D, G>: Unpin,

§

impl<'view, 'document, N, D, G> UnsafeUnpin for CounterPath<'view, 'document, N, D, G>
where Checked<N, D, G>: 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.