Squid Web Cache master
Loading...
Searching...
No Matches
helper.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#ifndef SQUID_SRC_SSL_HELPER_H
10#define SQUID_SRC_SSL_HELPER_H
11
12#if USE_OPENSSL
13
14#include "base/AsyncJobCalls.h"
15#include "base/ClpMap.h"
16#include "helper/forward.h"
17#include "security/forward.h"
19#include "ssl/crtd_message.h"
20
21namespace Ssl
22{
23#if USE_SSL_CRTD
28class Helper
29{
30public:
31 static void Init();
32 static void Shutdown();
33 static void Reconfigure();
35 static void Submit(CrtdMessage const & message, HLPCB * callback, void *data);
36private:
37 static ::Helper::ClientPointer ssl_crtd;
38};
39#endif
40
44{
45public:
48
49 typedef void CVHCB(void *, Ssl::CertValidationResponse const &);
50 static void Init();
51 static void Shutdown();
52 static void Reconfigure();
54 static void Submit(const Ssl::CertValidationRequest &, const Callback &);
55private:
56 static ::Helper::ClientPointer ssl_crt_validator;
57public:
60};
61
62} //namespace Ssl
63
64#endif /* USE_OPENSSL */
65#endif /* SQUID_SRC_SSL_HELPER_H */
66
a smart AsyncCall pointer for delivery of future results
void CVHCB(void *, Ssl::CertValidationResponse const &)
Definition helper.h:49
::Helper::ClientPointer ssl_crt_validator
helper for management of ssl_crtd.
Definition helper.h:56
static void Submit(const Ssl::CertValidationRequest &, const Callback &)
Submit crtd request message to external crtd server.
Definition helper.cc:303
static CacheType * HelperCache
cache for cert validation helper
Definition helper.h:59
static void Shutdown()
Shutdown helper structure.
Definition helper.cc:236
static void Init()
Init helper structure.
Definition helper.cc:175
ClpMap< SBuf, CertValidationResponse::Pointer, CertValidationResponse::MemoryUsedByResponse > CacheType
Definition helper.h:58
static void Reconfigure()
Definition helper.cc:252
RefCount< CertValidationResponse > Pointer
static void Submit(CrtdMessage const &message, HLPCB *callback, void *data)
Submit crtd message to external crtd server.
Definition helper.cc:128
static void Init()
Init helper structure.
Definition helper.cc:81
::Helper::ClientPointer ssl_crtd
helper for management of ssl_crtd.
Definition helper.h:37
static void Reconfigure()
Definition helper.cc:122
static void Shutdown()
Shutdown helper structure.
Definition helper.cc:112
void HLPCB(void *, const Helper::Reply &)
Definition forward.h:33
helper protocol primitives
Definition helper.h:39
Definition Xaction.cc:40