pub enum RequestAuthentication<'q, 'a, 'c, 'cert> {
Unsigned,
Signed(SignedRequest<'q, 'a, 'c, 'cert>),
Rejected(RequestSignatureFailure),
UnsupportedSignature,
}Expand description
Mathematical authentication does not decide request acceptance or trust.
Variants§
Unsigned
No signature was present; the verifier was not invoked.
Signed(SignedRequest<'q, 'a, 'c, 'cert>)
Original TBS verified with the actual certificate-bound effective key.
Rejected(RequestSignatureFailure)
Completed negative key binding or signature result.
UnsupportedSignature
Selected verifier cannot process this algorithm/key combination.
Trait Implementations§
Auto Trait Implementations§
impl<'q, 'a, 'c, 'cert> !RefUnwindSafe for RequestAuthentication<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> !Send for RequestAuthentication<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> !Sync for RequestAuthentication<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> !UnwindSafe for RequestAuthentication<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> Freeze for RequestAuthentication<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> Unpin for RequestAuthentication<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> UnsafeUnpin for RequestAuthentication<'q, 'a, 'c, 'cert>
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