Lines Matching defs:error
15 use std::error::Error;
32 use crate::error::ErrorStack;
106 /// Returns the error code of the context.
108 pub fn error(&self) -> X509VerifyResult {
162 /// Returns `true` if verification succeeds. The `error` method will return the specific
163 /// validation error if the certificate was not valid.
171 /// Set the error code of the context.
179 /// Returns a reference to the certificate which caused the error or None if
180 /// no certificate is relevant to the error.
190 /// chain where the error occurred. If it is zero it occurred in the end
1238 /// With OpenSSL versions from 3.0.0 this may return an error if the underlying `X509_NAME_cmp`
1240 /// For OpenSSL versions before 3.0.0 it will never return an error, but due to a bug it may
1928 .field("error", &self.error_string())
1942 /// Creates an `X509VerifyResult` from a raw error number.
1946 /// Some methods on `X509VerifyResult` are not thread safe if the error
1958 /// Return a human readable error string from the verification error.