Enum rcgen::RcgenError [−][src]
#[non_exhaustive]
pub enum RcgenError {
CouldNotParseCertificate,
CouldNotParseCertificationRequest,
CouldNotParseKeyPair,
InvalidNameType,
KeyGenerationUnavailable,
UnsupportedExtension,
UnsupportedSignatureAlgorithm,
RingUnspecified,
RingKeyRejected(&'static str),
CertificateKeyPairMismatch,
Time,
PemError(PemError),
}
Expand description
The error type of the rcgen crate
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The given certificate couldn’t be parsed
The given certificate signing request couldn’t be parsed
The given key pair couldn’t be parsed
Invalid subject alternative name type
There is no support for generating keys for the given algorithm
Unsupported extension requested in CSR
The requested signature algorithm is not supported
Unspecified ring
error
RingKeyRejected(&'static str)
The ring
library rejected the key upon loading
Tuple Fields of RingKeyRejected
0: &'static str
The provided certificate’s signature algorithm is incompatible with the given key pair
Time conversion related errors
PemError(PemError)
Error from the pem crate
This variant is only available if rcgen is built with the “pem” feature
Tuple Fields of PemError
0: PemError
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.