ErrorDetail.h
Go to the documentation of this file.
48 ErrorDetail(ErrorCode err_no, const CertPointer &peer, const CertPointer &broken, const char *aReason = nullptr);
ErrorCode ErrorCodeFromName(const char *name)
Definition: ErrorDetail.cc:410
void printSubject(std::ostream &os) const
textual representation of the subject of the broken certificate
Definition: ErrorDetail.cc:561
int ErrorCode
Squid-defined error code (<0), an error code returned by X.509 API, or zero.
Definition: forward.h:131
SBuf verbose(const HttpRequestPointer &) const override
Definition: ErrorDetail.cc:534
void printCommonName(std::ostream &os) const
a list of the broken certificates CN and alternate names
Definition: ErrorDetail.cc:628
MEMPROXY_CLASS(Security::ErrorDetail)
void printNotBefore(std::ostream &os) const
textual representation of the "not before" field of the broken certificate
Definition: ErrorDetail.cc:659
std::optional< ErrorDetailEntry > detailEntry
Definition: ErrorDetail.h:118
CertPointer broken_cert
A pointer to the broken certificate (peer or intermediate)
Definition: ErrorDetail.h:99
void printNotAfter(std::ostream &os) const
textual representation of the "not after" field of the broken certificate
Definition: ErrorDetail.cc:677
void setPeerCertificate(const CertPointer &)
Definition: ErrorDetail.cc:490
ErrorDetail(ErrorCode err_no, const CertPointer &peer, const CertPointer &broken, const char *aReason=nullptr)
Definition: ErrorDetail.cc:466
std::ostream & operator<<(std::ostream &, const EncryptorAnswer &)
Definition: EncryptorAnswer.cc:20
void printErrorLibError(std::ostream &os) const
textual representation of lib_error_no
Definition: ErrorDetail.cc:728
Definition: ErrorDetailManager.h:24
Definition: SquidString.h:25
Certificate * brokenCert()
peer or intermediate certificate that failed validation (or nil)
Definition: ErrorDetail.h:78
void printCaName(std::ostream &os) const
the issuer of the broken certificate
Definition: ErrorDetail.cc:643
void printErrorDescription(std::ostream &os) const
short description of error_no
Definition: ErrorDetail.cc:709
const char * ErrorNameFromCode(ErrorCode err, bool prefixRawCode=false)
Definition: ErrorDetail.cc:430
Definition: forward.h:15
Definition: ErrorDetail.h:39
void printErrorCode(std::ostream &os) const
textual representation of error_no
Definition: ErrorDetail.cc:695
size_t convertErrorCodeToDescription(const char *code, std::ostream &os) const
Definition: ErrorDetail.cc:757
LibErrorCode lib_error_no
TLS library-reported non-validation error or zero;.
Definition: ErrorDetail.h:105
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products