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>
impl<'b, 'r, 'a> BoundDelta<'b, 'r, 'a>
Sourcepub fn entry<W: Work>(
self,
target: &Certificate<'_>,
execution: &W,
) -> Result<CombinedEntry<'r, 'a>>
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
Sourcepub fn base(self) -> &'b Authenticated<'r, 'a>
pub fn base(self) -> &'b Authenticated<'r, 'a>
Complete source CRL, not a serialized reconstructed list.
Sourcepub fn delta(self) -> &'b Authenticated<'r, 'a>
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>
impl<'b, 'r, 'a> BoundDelta<'b, 'r, 'a>
Sourcepub fn evaluate<E: Work>(
self,
target: &'r Certificate<'a>,
time: &Evaluation<'_, E>,
) -> Result<DeltaEvidence<'b, 'r, 'a>>
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>
impl<'b, 'r, 'a> Clone for BoundDelta<'b, 'r, 'a>
impl<'b, 'r, 'a> Copy for BoundDelta<'b, 'r, 'a>
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more