Skip to main content

CounterActor

Struct CounterActor 

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

Actual counter signer plus its independently protected credential sources. Plain counters and counters with no role property have no such catalogue. A present role is authenticated and read without imposing the root’s B level.

Implementations§

Source§

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

Source

pub fn signer(&self) -> &CounterPath<'view, 'document, N, D, G>

Actual child signer and its checked effective-key path.

Source

pub fn roles(&self) -> Option<&Roles<N, D, G>>

Original protected role credentials, which still need their own handler.

Source

pub fn containers(&self) -> Option<&Containers<N, D, G>>

Original child qualifying-property layout, if this is an XAdES counter. This is not a child baseline claim. Plain XMLDSig has none.

Auto Trait Implementations§

§

impl<'view, 'document, N, D, G> !Freeze for CounterActor<'view, 'document, N, D, G>

§

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

§

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

§

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

§

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

§

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

§

impl<'view, 'document, N, D, G> Unpin for CounterActor<'view, 'document, N, D, G>
where CounterPath<'view, 'document, N, D, G>: Unpin, Option<Containers<N, D, G>>: Unpin, Option<Roles<N, D, G>>: Unpin,

§

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