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.