pub enum HandshakeVerificationError {
InvalidEndEntityCertificate,
MissingCerts,
InvalidServerSignature,
InvalidServerEphemeralKey,
ServerCert(ServerCertVerifierError),
UnsupportedSignatureScheme(SignatureScheme),
}
Expand description
Errors that can occur when verifying a certificate chain or signature.
Variants§
InvalidEndEntityCertificate
MissingCerts
InvalidServerSignature
InvalidServerEphemeralKey
ServerCert(ServerCertVerifierError)
UnsupportedSignatureScheme(SignatureScheme)
Trait Implementations§
Source§impl Debug for HandshakeVerificationError
impl Debug for HandshakeVerificationError
Source§impl Display for HandshakeVerificationError
impl Display for HandshakeVerificationError
Source§impl Error for HandshakeVerificationError
impl Error for HandshakeVerificationError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for HandshakeVerificationError
impl RefUnwindSafe for HandshakeVerificationError
impl Send for HandshakeVerificationError
impl Sync for HandshakeVerificationError
impl Unpin for HandshakeVerificationError
impl UnwindSafe for HandshakeVerificationError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more