Lines Matching full:error

16 #include <xyz/openbmc_project/Certs/error.hpp>
17 #include <xyz/openbmc_project/Common/error.hpp>
31 using ::sdbusplus::xyz::openbmc_project::Certs::Error::InvalidCertificate;
32 using ::sdbusplus::xyz::openbmc_project::Common::Error::InternalFailure;
46 constexpr bool isTrustChainError(int error) in isTrustChainError() argument
48 return error == X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT || in isTrustChainError()
49 error == X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN || in isTrustChainError()
50 error == X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY || in isTrustChainError()
51 error == X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT || in isTrustChainError()
52 error == X509_V_ERR_CERT_UNTRUSTED || in isTrustChainError()
53 error == X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE; in isTrustChainError()
63 lg2::error("Error occurred during X509_STORE_new call"); in getX509Store()
75 lg2::error("Error occurred during X509_STORE_add_lookup call"); in getX509Store()
83 lg2::error( in getX509Store()
84 "Error occurred during X509_LOOKUP_load_file call, FILE:{FILE}", in getX509Store()
97 lg2::error( in loadCert()
98 "Error occurred during X509_new call, FILE:{FILE}, ERRCODE:{ERRCODE}", in loadCert()
106 lg2::error("Error occurred during BIO_new_file call, FILE:{FILE}", in loadCert()
114 lg2::error("Error occurred during PEM_read_bio_X509 call, FILE:{FILE}", in loadCert()
137 lg2::error("Certificate valid date starts before the Unix Epoch"); in validateCertificateStartDate()
149 lg2::error("Error occurred during X509_STORE_CTX_new call"); in validateCertificateAgainstStore()
156 lg2::error("Error occurred during X509_STORE_CTX_init call"); in validateCertificateAgainstStore()
175 "Error occurred during X509_verify_cert call, checking for known " in validateCertificateAgainstStore()
176 "error, ERRCODE:{ERRCODE}, ERROR_STR:{ERROR_STR}", in validateCertificateAgainstStore()
182 lg2::error("Error occurred during X509_verify_cert call"); in validateCertificateAgainstStore()
199 lg2::error("Expired certificate "); in validateCertificateAgainstStore()
202 // Logging general error here. in validateCertificateAgainstStore()
203 lg2::error( in validateCertificateAgainstStore()
217 lg2::error("Certificate is not usable, ERRCODE:{ERRCODE}", "ERRCODE", in validateCertificateInSSLContext()
240 lg2::error("Error occurred during parseCert: PEM is too long"); in parseCert()
246 lg2::error("Error occurred during X509_new call, ERRCODE:{ERRCODE}", in parseCert()
256 lg2::error("Error occurred during PEM_read_bio_X509 call, PEM:{PEM}", in parseCert()