Skip to main content

BoundDelta

Struct BoundDelta 

Source
pub struct BoundDelta<'b, 'r, 'a> { /* private fields */ }
Expand description

Authenticated source pair bound according to RFC 5280 §§5.2.4/6.3.3(c). Entries, freshness and critical demands still require interpretation before status.

Implementations§

Source§

impl<'b, 'r, 'a> BoundDelta<'b, 'r, 'a>

Source

pub fn entry<W: Work>( self, target: &Certificate<'_>, execution: &W, ) -> Result<CombinedEntry<'r, 'a>>

Apply RFC5280 §6.3.3(i)–(k) over original authenticated sources. Each source is scanned independently so indirect issuer state never leaks between lists. Critical demands and conflicting duplicates are checked in both sources before selecting a delta override. https://www.rfc-editor.org/rfc/rfc5280#section-6.3.3

Source

pub fn base(self) -> &'b Authenticated<'r, 'a>

Complete source CRL, not a serialized reconstructed list.

Source

pub fn delta(self) -> &'b Authenticated<'r, 'a>

Delta source CRL, whose update times govern the combined list.

Source§

impl<'b, 'r, 'a> BoundDelta<'b, 'r, 'a>

Source

pub fn evaluate<E: Work>( self, target: &'r Certificate<'a>, time: &Evaluation<'_, E>, ) -> Result<DeltaEvidence<'b, 'r, 'a>>

Compose bound-pair scope, both source metadata/entries and temporal facts. No base expiry is silently used as the delta’s expiry or vice versa.

Trait Implementations§

Source§

impl<'b, 'r, 'a> Clone for BoundDelta<'b, 'r, 'a>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'b, 'r, 'a> Copy for BoundDelta<'b, 'r, 'a>

Source§

impl<'b, 'r, 'a> Debug for BoundDelta<'b, 'r, 'a>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'b, 'r, 'a> !RefUnwindSafe for BoundDelta<'b, 'r, 'a>

§

impl<'b, 'r, 'a> !Send for BoundDelta<'b, 'r, 'a>

§

impl<'b, 'r, 'a> !Sync for BoundDelta<'b, 'r, 'a>

§

impl<'b, 'r, 'a> !UnwindSafe for BoundDelta<'b, 'r, 'a>

§

impl<'b, 'r, 'a> Freeze for BoundDelta<'b, 'r, 'a>

§

impl<'b, 'r, 'a> Unpin for BoundDelta<'b, 'r, 'a>

§

impl<'b, 'r, 'a> UnsafeUnpin for BoundDelta<'b, 'r, 'a>

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.