pub enum PathCheck<T, P> {
Accepted(T),
MissingAaCa,
TrustBoundary,
AnchorKey,
Controls(Rejection),
Path(P),
Incomplete(Truncation),
}Expand description
Completed AA path result. No rejected or incomplete path carries a usable key.
Variants§
Accepted(T)
Static PKIX validation and the complete AAControls census/distance
checks completed. Attribute use still requires the retained intersection.
MissingAaCa
The caller supplied no AA issuer followed by a distinct AA CA position. Direct-AA trust uses the separate AC authentication API.
TrustBoundary
The final path position is not the explicitly selected trusted AA CA object. Equal encodings from an untrusted pool are not substituted.
AnchorKey
The supplied effective anchor key does not belong to the selected AA CA.
Controls(Rejection)
A control was absent or its distance was exceeded.
Path(P)
Completed common PKIX path refusal, preserving its source position.
Incomplete(Truncation)
A caller-selected PKIX processing bound prevented a complete path check.
Trait Implementations§
Auto Trait Implementations§
impl<T, P> Freeze for PathCheck<T, P>
impl<T, P> RefUnwindSafe for PathCheck<T, P>where
T: RefUnwindSafe,
P: RefUnwindSafe,
impl<T, P> Send for PathCheck<T, P>
impl<T, P> Sync for PathCheck<T, P>
impl<T, P> Unpin for PathCheck<T, P>
impl<T, P> UnsafeUnpin for PathCheck<T, P>where
T: UnsafeUnpin,
P: UnsafeUnpin,
impl<T, P> UnwindSafe for PathCheck<T, P>where
T: UnwindSafe,
P: UnwindSafe,
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