pub struct HolderPath<'p, 'a> { /* private fields */ }Expand description
One supplied holder PKC path, checked against its explicitly chosen anchor. Protocol proof of possession and PKC revocation remain caller obligations.
Implementations§
Source§impl<'p, 'a> HolderPath<'p, 'a>
impl<'p, 'a> HolderPath<'p, 'a>
Sourcepub fn certificates(&self) -> &[&Certificate<'a>]
pub fn certificates(&self) -> &[&Certificate<'a>]
Original leaf-first path; its first element is the holder PKC.
Sourcepub fn facts(&self) -> &ValidationFacts<'a>
pub fn facts(&self) -> &ValidationFacts<'a>
Actual effective key and independently owned policy facts.
Sourcepub fn anchor(&self) -> EffectiveAnchor<'a>
pub fn anchor(&self) -> EffectiveAnchor<'a>
Explicitly selected trust boundary, not a discovered self-signed root.
Sourcepub fn validate<V, T, R, W>(
certificates: &'p [&'a Certificate<'a>],
anchor: EffectiveAnchor<'a>,
context: &ValidationContext<'a, '_, V, T, R, W>,
) -> HolderResult<'p, 'a, <V as Verify<W>>::Error, R::Error>
pub fn validate<V, T, R, W>( certificates: &'p [&'a Certificate<'a>], anchor: EffectiveAnchor<'a>, context: &ValidationContext<'a, '_, V, T, R, W>, ) -> HolderResult<'p, 'a, <V as Verify<W>>::Error, R::Error>
Validate a supplied holder path through the same PKIX core as AA paths. The anchor is outside the supplied prospective path. Every provider call receives the original signature ceiling as well as the current Work.
Trait Implementations§
Auto Trait Implementations§
impl<'p, 'a> !Freeze for HolderPath<'p, 'a>
impl<'p, 'a> !RefUnwindSafe for HolderPath<'p, 'a>
impl<'p, 'a> !Send for HolderPath<'p, 'a>
impl<'p, 'a> !Sync for HolderPath<'p, 'a>
impl<'p, 'a> !UnwindSafe for HolderPath<'p, 'a>
impl<'p, 'a> Unpin for HolderPath<'p, 'a>
impl<'p, 'a> UnsafeUnpin for HolderPath<'p, '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