Skip to main content

CrlValueReference

Struct CrlValueReference 

Source
pub struct CrlValueReference<'references, 'actual, 'document, N, D, G> { /* private fields */ }
Expand description

One original row’s identifier and digest against the SAME actual CRL. Private construction retains the source pair for subsequent composition; a caller cannot substitute another list after the checks have completed.

Implementations§

Source§

impl<'r, 'a, 'd, N: Copy, D: Copy, G: Copy> CrlValueReference<'r, 'a, 'd, N, D, G>

Source

pub fn references(&self) -> &'r ReferenceProperty<N, D, G>

Original reference property, including its actual role and generation.

Source

pub fn entry(&self) -> usize

Original row ordinal within that property.

Source

pub fn actual(&self) -> &'a CertificateList<'d>

Same complete/delta CRL whose original DER supplied the digest input.

Source

pub fn identity(&self) -> Option<&Located<CrlReferenceIdentity<N>, N, D, G>>

Written original identifier and all field facts, or legitimate absence.

Source

pub fn digest(&self) -> Option<ReferenceDigest>

Whole-list comparison. None means malformed/unsupported mandatory time syntax prevented provider dispatch, not a successful absent digest.

Source

pub fn agrees(&self) -> bool

Only agreement with this one CRL: mandatory digest plus every written issuer/time field. An absent optional identifier may be inferred from the digest; an unstated timezone does not prove time equality. This is not signature authentication, status applicability, actual path use, complete/delta coverage, incorporation or a baseline grade.

Auto Trait Implementations§

§

impl<'references, 'actual, 'document, N, D, G> !RefUnwindSafe for CrlValueReference<'references, 'actual, 'document, N, D, G>

§

impl<'references, 'actual, 'document, N, D, G> !Send for CrlValueReference<'references, 'actual, 'document, N, D, G>

§

impl<'references, 'actual, 'document, N, D, G> !Sync for CrlValueReference<'references, 'actual, 'document, N, D, G>

§

impl<'references, 'actual, 'document, N, D, G> !UnwindSafe for CrlValueReference<'references, 'actual, 'document, N, D, G>

§

impl<'references, 'actual, 'document, N, D, G> Forget for CrlValueReference<'references, 'actual, 'document, N, D, G>

§

impl<'references, 'actual, 'document, N, D, G> Freeze for CrlValueReference<'references, 'actual, 'document, N, D, G>
where &'references ReferenceProperty<N, D, G>: Freeze, Option<Located<CrlReferenceIdentity<N>, N, D, G>>: Freeze,

§

impl<'references, 'actual, 'document, N, D, G> Unpin for CrlValueReference<'references, 'actual, 'document, N, D, G>
where &'references ReferenceProperty<N, D, G>: Unpin, Option<Located<CrlReferenceIdentity<N>, N, D, G>>: Unpin,

§

impl<'references, 'actual, 'document, N, D, G> UnsafeUnpin for CrlValueReference<'references, 'actual, 'document, N, D, G>
where &'references ReferenceProperty<N, D, G>: UnsafeUnpin, Option<Located<CrlReferenceIdentity<N>, 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.