#[non_exhaustive]pub enum CertRevocationListError {
Show 14 variants
BadSignature,
UnsupportedSignatureAlgorithm,
UnsupportedSignatureAlgorithmContext {
signature_algorithm_id: Vec<u8>,
supported_algorithms: Vec<AlgorithmIdentifier>,
},
UnsupportedSignatureAlgorithmForPublicKeyContext {
signature_algorithm_id: Vec<u8>,
public_key_algorithm_id: Vec<u8>,
},
InvalidCrlNumber,
InvalidRevokedCertSerialNumber,
IssuerInvalidForCrl,
Other(OtherError),
ParseError,
UnsupportedCrlVersion,
UnsupportedCriticalExtension,
UnsupportedDeltaCrl,
UnsupportedIndirectCrl,
UnsupportedRevocationReason,
}展开描述
证书吊销列表 (CRL) 可能无效的方式。
变体 (Non-exhaustive)§
This enum is marked as non-exhaustive
BadSignature
此 CRL had 一个 bad 签名从 its issuer.
UnsupportedSignatureAlgorithm
UnsupportedSignatureAlgorithmContext instead此 CRL had an unsupported 签名从 its issuer.
UnsupportedSignatureAlgorithmContext
A signature inside 一个 certificate 或 on 一个 handshake was made with an unsupported 算法.
字段
signature_algorithm_id: Vec<u8>此 签名算法 OID that was unsupported.
supported_algorithms: Vec<AlgorithmIdentifier>Supported algorithms that were available 用于 signature verification.
UnsupportedSignatureAlgorithmForPublicKeyContext
A signature was made with an 算法 that doesn’t match the relevant 公钥.
字段
signature_algorithm_id: Vec<u8>此 签名算法 OID.
InvalidCrlNumber
此 CRL contained an invalid CRL number.
InvalidRevokedCertSerialNumber
此 CRL contained 一个 revoked certificate with an invalid serial number.
IssuerInvalidForCrl
此 CRL issuer does not specify the cRLSign key usage.
Other(OtherError)
此 CRL is invalid 用于 some other reason.
Enums holding this variant will never compare equal 到 each other.
ParseError
此 CRL is not correctly encoded.
UnsupportedCrlVersion
此 CRL is not 一个 v2 X.509 CRL.
UnsupportedCriticalExtension
此 CRL, 或 一个 revoked certificate in the CRL, contained an unsupported critical extension.
UnsupportedDeltaCrl
此 CRL 是 unsupported delta CRL, containing only changes relative 到 another CRL.
UnsupportedIndirectCrl
此 CRL 是 unsupported indirect CRL, containing revoked certificates issued by 一个 CA other than the issuer of the CRL.
UnsupportedRevocationReason
此 CRL contained 一个 revoked certificate with an unsupported revocation reason. See RFC 5280 Section 5.3.11 用于 一个 list of supported revocation reasons.
Trait 实现§
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. 更多信息