Skip to main content

CredentialCertificate

Struct CredentialCertificate 

Source
pub struct CredentialCertificate<'view, 'document> { /* private fields */ }
Expand description

One certificate actually required by a credential authority path.

Implementations§

Source§

impl<'v, 'd> CredentialCertificate<'v, 'd>

Source

pub fn participant(&self) -> usize

Original credential participant/authority ordinal in the complete census.

Source

pub fn role(&self) -> PathCertificate

Existing anchor or original issuer-to-subject member ordinal.

Source

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

Exact original certificate; no decoding, normalization or copy repeats.

Source

pub fn presence(&self) -> (bool, bool, bool)

Matching original protected/ordinary/attribute reference presence.

Source

pub fn redundant_attribute_reference(&self) -> bool

A.1.3’s SHOULD NOT duplication; this is not an unconditional rejection.

Auto Trait Implementations§

§

impl<'view, 'document> !RefUnwindSafe for CredentialCertificate<'view, 'document>

§

impl<'view, 'document> !Send for CredentialCertificate<'view, 'document>

§

impl<'view, 'document> !Sync for CredentialCertificate<'view, 'document>

§

impl<'view, 'document> !UnwindSafe for CredentialCertificate<'view, 'document>

§

impl<'view, 'document> Forget for CredentialCertificate<'view, 'document>

§

impl<'view, 'document> Freeze for CredentialCertificate<'view, 'document>

§

impl<'view, 'document> Unpin for CredentialCertificate<'view, 'document>

§

impl<'view, 'document> UnsafeUnpin for CredentialCertificate<'view, 'document>

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.