Skip to main content

Authenticated

pub struct Authenticated<'r, 'a, 's> { /* private fields */ }
Expand description

Original authenticated issuance facts with independently owned profile storage.

This is not full RFC5755 acceptance: holder authentication, both PKIX paths, direct AA trust, targeting/proxy effects, revocation and product permission remain separate. AKI is retained as a hint, not a mandatory matching policy (RFC5755 §4.3.3). UTC correction provenance belongs to the caller, as for the shared PKIX interval; comparisons retain fractional and inserted-second labels.

Implementations§

Source§

impl<'r, 'a, 's> Authenticated<'r, 'a, 's>

Source

pub fn certificate(&self) -> &AttributeCertificate<'a>

Original AC, without normalization or removal of its attributes.

Source

pub fn profile(&self) -> &Profile<'r, 'a>

Checked static facts and still-pending targeting/proxy/status obligations.

Source

pub fn authority(&self) -> &'r Certificate<'s>

Actual supplied authority; this operation does not establish its path/trust.

Source

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

Actual supplied effective key, preserving its inherited parameter source.

Source

pub fn interval(&self) -> Interval

Complete explicit interval checked against both AC and authority validity.

Trait Implementations§

Source§

impl<'r, 'a, 's> Debug for Authenticated<'r, 'a, 's>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'r, 'a, 's> !Freeze for Authenticated<'r, 'a, 's>

§

impl<'r, 'a, 's> !RefUnwindSafe for Authenticated<'r, 'a, 's>

§

impl<'r, 'a, 's> !Send for Authenticated<'r, 'a, 's>

§

impl<'r, 'a, 's> !Sync for Authenticated<'r, 'a, 's>

§

impl<'r, 'a, 's> !UnwindSafe for Authenticated<'r, 'a, 's>

§

impl<'r, 'a, 's> Unpin for Authenticated<'r, 'a, 's>

§

impl<'r, 'a, 's> UnsafeUnpin for Authenticated<'r, 'a, 's>

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.