pub enum OcspResponseStatus {
Successful,
MalformedRequest,
InternalError,
TryLater,
SigRequired,
Unauthorized,
Unknown(i32),
}Expand description
OCSP response status (RFC 6960 §4.2.1).
This is the top-level status of the response packet itself, not the status
of any individual certificate. A Successful response still requires
per-certificate inspection via OcspBasicResp::find_status.
Variants§
Successful
successful (0) — Response packet is valid.
MalformedRequest
malformedRequest (1) — Server could not parse the request.
InternalError
internalError (2) — Server internal error.
TryLater
tryLater (3) — Server is busy; retry later.
SigRequired
sigRequired (5) — Signed request required by policy.
unauthorized (6) — Unauthorized request.
Unknown(i32)
Unknown status code (forward-compatibility guard).
Trait Implementations§
Source§impl Clone for OcspResponseStatus
impl Clone for OcspResponseStatus
Source§fn clone(&self) -> OcspResponseStatus
fn clone(&self) -> OcspResponseStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OcspResponseStatus
impl Debug for OcspResponseStatus
Source§impl From<i32> for OcspResponseStatus
impl From<i32> for OcspResponseStatus
Source§impl PartialEq for OcspResponseStatus
impl PartialEq for OcspResponseStatus
impl Copy for OcspResponseStatus
impl Eq for OcspResponseStatus
impl StructuralPartialEq for OcspResponseStatus
Auto Trait Implementations§
impl Freeze for OcspResponseStatus
impl RefUnwindSafe for OcspResponseStatus
impl Send for OcspResponseStatus
impl Sync for OcspResponseStatus
impl Unpin for OcspResponseStatus
impl UnsafeUnpin for OcspResponseStatus
impl UnwindSafe for OcspResponseStatus
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