pub enum CertificateError {
Io(Error),
ImproperPrivateKeyFormat,
ImproperCertificateFormat,
NoKey,
InvalidPrivateKey,
}
Available on crate feature
https
only.Expand description
An error regarding creation of a [sign::CertifiedKey
].
Variants§
Io(Error)
An error occurred while reading from the fs.
ImproperPrivateKeyFormat
The private key is of improper format.
ImproperCertificateFormat
The certificate (public key) is of improper format.
NoKey
No key was found.
InvalidPrivateKey
The private key doesn’t match the public key.
Trait Implementations§
source§impl Debug for CertificateError
impl Debug for CertificateError
Auto Trait Implementations§
impl Freeze for CertificateError
impl !RefUnwindSafe for CertificateError
impl Send for CertificateError
impl Sync for CertificateError
impl Unpin for CertificateError
impl !UnwindSafe for CertificateError
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
Mutably borrows from an owned value. Read more