#include <helper.h>
Public Types | |
using | Answer = CertValidationResponse::Pointer |
using | Callback = AsyncCallback< Answer > |
typedef void | CVHCB(void *, Ssl::CertValidationResponse const &) |
typedef ClpMap< SBuf, CertValidationResponse::Pointer, CertValidationResponse::MemoryUsedByResponse > | CacheType |
Static Public Member Functions | |
static void | Init () |
Init helper structure. More... | |
static void | Shutdown () |
Shutdown helper structure. More... | |
static void | Reconfigure () |
static void | Submit (const Ssl::CertValidationRequest &, const Callback &) |
Submit crtd request message to external crtd server. More... | |
Static Public Attributes | |
static CacheType * | HelperCache = nullptr |
cache for cert validation helper More... | |
Static Private Attributes | |
::Helper::ClientPointer | ssl_crt_validator |
helper for management of ssl_crtd. More... | |
Detailed Description
Member Typedef Documentation
◆ Answer
◆ CacheType
◆ Callback
◆ CVHCB
typedef void Ssl::CertValidationHelper::CVHCB(void *, Ssl::CertValidationResponse const &) |
Member Function Documentation
◆ Init()
|
static |
Definition at line 171 of file helper.cc.
References assert, Debug::Extra(), Here, HttpPortList, IPC_STREAM, Helper::Client::Make(), max(), strwordtok(), Ssl::TheConfig, ToSBuf(), wordlistAdd(), xatoi(), xfree, and xstrdup.
Referenced by mainInitialize().
◆ Reconfigure()
|
static |
Reconfigure helper structure
Definition at line 248 of file helper.cc.
References Acl::Init().
Referenced by mainReconfigureFinish().
◆ Shutdown()
|
static |
Definition at line 232 of file helper.cc.
References helperShutdown(), and wordlistDestroy().
Referenced by SquidShutdown().
◆ Submit()
|
static |
Definition at line 299 of file helper.cc.
References SBuf::append(), SBuf::assign(), Helper::BrokenHelper, SBuf::c_str(), submitData::callback, Ssl::CertValidationMsg::code_cert_validate, Ssl::CrtdMessage::compose(), Ssl::CertValidationMsg::composeRequest(), debugs, HelperCache, submitData::query, Ssl::CrtdMessage::REQUEST, ScheduleCallHere, Ssl::CrtdMessage::setCode(), Ssl::CertValidationRequest::ssl, submitData::ssl, and sslCrtvdHandleReplyWrapper().
Referenced by Security::PeerConnector::sslFinalized().
Member Data Documentation
◆ HelperCache
|
static |
Definition at line 59 of file helper.h.
Referenced by sslCrtvdHandleReplyWrapper(), and Submit().
◆ ssl_crt_validator
|
staticprivate |
The documentation for this class was generated from the following files: