helper.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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_SSL_HELPER_H
10#define SQUID_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:
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:
57public:
60};
61
62} //namespace Ssl
63
64#endif /* USE_OPENSSL */
65#endif // SQUID_SSL_HELPER_H
66
a smart AsyncCall pointer for delivery of future results
Definition: ClpMap.h:41
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:299
static CacheType * HelperCache
cache for cert validation helper
Definition: helper.h:59
static void Shutdown()
Shutdown helper structure.
Definition: helper.cc:232
static void Init()
Init helper structure.
Definition: helper.cc:171
ClpMap< SBuf, CertValidationResponse::Pointer, CertValidationResponse::MemoryUsedByResponse > CacheType
Definition: helper.h:58
AsyncCallback< Answer > Callback
Definition: helper.h:47
static void Reconfigure()
Definition: helper.cc:248
RefCount< CertValidationResponse > Pointer
static void Submit(CrtdMessage const &message, HLPCB *callback, void *data)
Submit crtd message to external crtd server.
Definition: helper.cc:124
static void Init()
Init helper structure.
Definition: helper.cc:77
::Helper::ClientPointer ssl_crtd
helper for management of ssl_crtd.
Definition: helper.h:37
static void Reconfigure()
Definition: helper.cc:118
static void Shutdown()
Shutdown helper structure.
Definition: helper.cc:108
void HLPCB(void *, const Helper::Reply &)
Definition: forward.h:33
helper protocol primitives
Definition: helper.h:39
RefCount< Client > ClientPointer
Definition: forward.h:28
Definition: Xaction.cc:40

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors