Enum rustls::CertRevocationListError
source · #[non_exhaustive]pub enum CertRevocationListError {
BadSignature,
InvalidCrlNumber,
InvalidRevokedCertSerialNumber,
IssuerInvalidForCrl,
Other(Arc<dyn StdError + Send + Sync>),
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(Arc<dyn StdError + Send + Sync>)
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 more