#[non_exhaustive]#[repr(u32)]pub enum cef_cert_status_t {
Show 18 variants
CERT_STATUS_NONE = 0,
CERT_STATUS_COMMON_NAME_INVALID = 1,
CERT_STATUS_DATE_INVALID = 2,
CERT_STATUS_AUTHORITY_INVALID = 4,
CERT_STATUS_NO_REVOCATION_MECHANISM = 16,
CERT_STATUS_UNABLE_TO_CHECK_REVOCATION = 32,
CERT_STATUS_REVOKED = 64,
CERT_STATUS_INVALID = 128,
CERT_STATUS_WEAK_SIGNATURE_ALGORITHM = 256,
CERT_STATUS_NON_UNIQUE_NAME = 1_024,
CERT_STATUS_WEAK_KEY = 2_048,
CERT_STATUS_PINNED_KEY_MISSING = 8_192,
CERT_STATUS_NAME_CONSTRAINT_VIOLATION = 16_384,
CERT_STATUS_VALIDITY_TOO_LONG = 32_768,
CERT_STATUS_IS_EV = 65_536,
CERT_STATUS_REV_CHECKING_ENABLED = 131_072,
CERT_STATUS_SHA1_SIGNATURE_PRESENT = 524_288,
CERT_STATUS_CT_COMPLIANCE_FAILED = 1_048_576,
}Expand description
Supported certificate status code values. See net\cert\cert_status_flags.h for more information. CERT_STATUS_NONE is new in CEF because we use an enum while cert_status_flags.h uses a typedef and static const variables.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CERT_STATUS_NONE = 0
CERT_STATUS_COMMON_NAME_INVALID = 1
CERT_STATUS_DATE_INVALID = 2
CERT_STATUS_AUTHORITY_INVALID = 4
CERT_STATUS_NO_REVOCATION_MECHANISM = 16
CERT_STATUS_UNABLE_TO_CHECK_REVOCATION = 32
CERT_STATUS_REVOKED = 64
CERT_STATUS_INVALID = 128
CERT_STATUS_WEAK_SIGNATURE_ALGORITHM = 256
CERT_STATUS_NON_UNIQUE_NAME = 1_024
CERT_STATUS_WEAK_KEY = 2_048
CERT_STATUS_PINNED_KEY_MISSING = 8_192
CERT_STATUS_NAME_CONSTRAINT_VIOLATION = 16_384
CERT_STATUS_VALIDITY_TOO_LONG = 32_768
CERT_STATUS_IS_EV = 65_536
CERT_STATUS_REV_CHECKING_ENABLED = 131_072
CERT_STATUS_SHA1_SIGNATURE_PRESENT = 524_288
CERT_STATUS_CT_COMPLIANCE_FAILED = 1_048_576
Trait Implementations§
Source§impl Clone for cef_cert_status_t
impl Clone for cef_cert_status_t
Source§fn clone(&self) -> cef_cert_status_t
fn clone(&self) -> cef_cert_status_t
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 cef_cert_status_t
impl Debug for cef_cert_status_t
Source§impl Hash for cef_cert_status_t
impl Hash for cef_cert_status_t
Source§impl PartialEq for cef_cert_status_t
impl PartialEq for cef_cert_status_t
impl Copy for cef_cert_status_t
impl Eq for cef_cert_status_t
impl StructuralPartialEq for cef_cert_status_t
Auto Trait Implementations§
impl Freeze for cef_cert_status_t
impl RefUnwindSafe for cef_cert_status_t
impl Send for cef_cert_status_t
impl Sync for cef_cert_status_t
impl Unpin for cef_cert_status_t
impl UnwindSafe for cef_cert_status_t
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