pub enum Authentication<'path, 'document, E> {
Unsupported,
Rejected,
Authenticated {
evidence: E,
authorities: Authorities<'path, 'document>,
},
}Expand description
Completed format authentication, separate from application authorization.
This is the same contract for XML, CMS and other AdES credential carriers;
each carrier binds the result to its actual original payload and signer.
Variants§
Unsupported
The original credential format has no selected authentication handler.
Rejected
The selected handler completed and rejected the original credential.
Authenticated
Original signature/issuer authentication succeeded using these actual authority paths/effective keys. Asserted-role authorization, historical trust and revocation/freshness acceptance remain separate.
Fields
§
evidence: EActual retained format receipt, not a trusted boolean.
Complete authority inputs used by authentication. Empty Paths is insufficient evidence, never an implicit certificate-free result.
Auto Trait Implementations§
impl<'path, 'document, E> !RefUnwindSafe for Authentication<'path, 'document, E>
impl<'path, 'document, E> !Send for Authentication<'path, 'document, E>
impl<'path, 'document, E> !Sync for Authentication<'path, 'document, E>
impl<'path, 'document, E> !UnwindSafe for Authentication<'path, 'document, E>
impl<'path, 'document, E> Freeze for Authentication<'path, 'document, E>where
E: Freeze,
impl<'path, 'document, E> Unpin for Authentication<'path, 'document, E>where
E: Unpin,
impl<'path, 'document, E> UnsafeUnpin for Authentication<'path, 'document, E>where
E: UnsafeUnpin,
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