#[repr(u32)]pub enum OcspResponseStatus {
Successful = 0,
MalformedRequest = 1,
InternalError = 2,
TryLater = 3,
SigRequired = 5,
Unauthorized = 6,
}Expand description
OCSPResponseStatus structure as defined in RFC 6960 Section 4.2.1.
OCSPResponseStatus ::= ENUMERATED {
successful (0), -- Response has valid confirmations
malformedRequest (1), -- Illegal confirmation request
internalError (2), -- Internal error in issuer
tryLater (3), -- Try again later
-- (4) is not used
sigRequired (5), -- Must sign the request
unauthorized (6) -- Request unauthorized
}Variants§
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<'__der_lifetime> DecodeValue<'__der_lifetime> for OcspResponseStatus
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for OcspResponseStatus
Source§impl EncodeValue for OcspResponseStatus
impl EncodeValue for OcspResponseStatus
Source§impl PartialEq for OcspResponseStatus
impl PartialEq for OcspResponseStatus
Source§impl TryFrom<u32> for OcspResponseStatus
impl TryFrom<u32> 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
Source§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided Writer.
Source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.