Enum rustls::CertRevocationListError
source · #[non_exhaustive]pub enum CertRevocationListError {
BadSignature,
InvalidCrlNumber,
InvalidRevokedCertSerialNumber,
IssuerInvalidForCrl,
Other(OtherError),
ParseError,
UnsupportedCrlVersion,
UnsupportedCriticalExtension,
UnsupportedDeltaCrl,
UnsupportedIndirectCrl,
UnsupportedRevocationReason,
}
Expand description
The ways in which a certificate revocation list (CRL) can be invalid.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BadSignature
The CRL had a bad, or unsupported signature from its issuer.
InvalidCrlNumber
The CRL contained an invalid CRL number.
InvalidRevokedCertSerialNumber
The CRL contained a revoked certificate with an invalid serial number.
IssuerInvalidForCrl
The CRL issuer does not specify the cRLSign key usage.
Other(OtherError)
The CRL is invalid for some other reason.
Enums holding this variant will never compare equal to each other.
ParseError
The CRL is not correctly encoded.
UnsupportedCrlVersion
The CRL is not a v2 X.509 CRL.
UnsupportedCriticalExtension
The CRL, or a revoked certificate in the CRL, contained an unsupported critical extension.
UnsupportedDeltaCrl
The CRL is an unsupported delta CRL, containing only changes relative to another CRL.
UnsupportedIndirectCrl
The CRL is an unsupported indirect CRL, containing revoked certificates issued by a CA other than the issuer of the CRL.
UnsupportedRevocationReason
The CRL contained a revoked certificate with an unsupported revocation reason. See RFC 5280 Section 5.3.11 for a list of supported revocation reasons.
Trait Implementations§
source§impl Clone for CertRevocationListError
impl Clone for CertRevocationListError
source§fn clone(&self) -> CertRevocationListError
fn clone(&self) -> CertRevocationListError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CertRevocationListError
impl Debug for CertRevocationListError
source§impl From<CertRevocationListError> for Error
impl From<CertRevocationListError> for Error
source§fn from(e: CertRevocationListError) -> Self
fn from(e: CertRevocationListError) -> Self
source§impl From<CertRevocationListError> for VerifierBuilderError
impl From<CertRevocationListError> for VerifierBuilderError
source§fn from(value: CertRevocationListError) -> Self
fn from(value: CertRevocationListError) -> Self
source§impl PartialEq for CertRevocationListError
impl PartialEq for CertRevocationListError
Auto Trait Implementations§
impl Freeze for CertRevocationListError
impl !RefUnwindSafe for CertRevocationListError
impl Send for CertRevocationListError
impl Sync for CertRevocationListError
impl Unpin for CertRevocationListError
impl !UnwindSafe for CertRevocationListError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)