Enum fabruic::error::X509Error [−][src]
pub enum X509Error {
Show 21 variants
Generic,
InvalidVersion,
InvalidSerial,
InvalidAlgorithmIdentifier,
InvalidX509Name,
InvalidDate,
InvalidSPKI,
InvalidSubjectUID,
InvalidIssuerUID,
InvalidExtensions,
InvalidAttributes,
DuplicateExtensions,
DuplicateAttributes,
InvalidSignatureValue,
InvalidTbsCertificate,
InvalidUserCertificate,
InvalidCertificate,
SignatureVerificationError,
SignatureUnsupportedAlgorithm,
Der(BerError),
NomError(ErrorKind),
}
Expand description
An error that can occur while parsing or validating a certificate.
Variants
Generic
InvalidVersion
InvalidSerial
InvalidAlgorithmIdentifier
InvalidX509Name
InvalidDate
InvalidSPKI
InvalidSubjectUID
InvalidIssuerUID
InvalidExtensions
InvalidAttributes
DuplicateExtensions
DuplicateAttributes
InvalidSignatureValue
InvalidTbsCertificate
InvalidUserCertificate
InvalidCertificate
Top-level certificate structure is invalid
SignatureVerificationError
SignatureUnsupportedAlgorithm
Der(BerError)
NomError(ErrorKind)
Trait Implementations
Creates an error from the input position and an [ErrorKind]
Combines an existing error with a new one created from the input position and an [ErrorKind]. This is useful when backtracking through a parse tree, accumulating error context on the way Read more
Creates an error from an input position and an expected character
Auto Trait Implementations
impl RefUnwindSafe for X509Error
impl UnwindSafe for X509Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more