helper.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2020 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 
21 namespace Ssl
22 {
23 #if USE_SSL_CRTD
24 
28 class Helper
29 {
30 public:
31  static void Init();
32  static void Shutdown();
33  static void Reconfigure();
34  static void Submit(CrtdMessage const & message, HLPCB * callback, void *data);
36 private:
37  static helper * ssl_crtd;
38 };
39 #endif
40 
44 {
45 public:
47 
48  typedef void CVHCB(void *, Ssl::CertValidationResponse const &);
49  static void Init();
50  static void Shutdown();
51  static void Reconfigure();
54 private:
56 public:
59 };
60 
61 } //namespace Ssl
62 
63 #endif /* USE_OPENSSL */
64 #endif // SQUID_SSL_HELPER_H
65 
void CVHCB(void *, Ssl::CertValidationResponse const &)
Definition: helper.h:48
static void Submit(CrtdMessage const &message, HLPCB *callback, void *data)
Submit crtd message to external crtd server.
Definition: helper.cc:123
static void Shutdown()
Shutdown helper structure.
Definition: helper.cc:231
static void Reconfigure()
Definition: helper.cc:248
ClpMap< SBuf, CertValidationResponse::Pointer, CertValidationResponse::MemoryUsedByResponse > CacheType
Definition: helper.h:57
static void Init()
Init helper structure.
Definition: helper.cc:75
static void Init()
Init helper structure.
Definition: helper.cc:170
static void Shutdown()
Shutdown helper structure.
Definition: helper.cc:106
Definition: helper.h:65
Definition: ClpMap.h:40
Definition: Xaction.cc:47
void const char HLPCB void * data
Definition: stub_helper.cc:16
static helper * ssl_crtd
helper for management of ssl_crtd.
Definition: helper.h:37
helper protocol primitives
Definition: ChildConfig.h:12
static void Reconfigure()
Definition: helper.cc:117
void const char HLPCB * callback
Definition: stub_helper.cc:16
UnaryMemFunT< Security::PeerConnector, CertValidationResponse::Pointer > CbDialer
Definition: helper.h:46
static void Submit(Ssl::CertValidationRequest const &request, AsyncCall::Pointer &)
Submit crtd request message to external crtd server.
Definition: helper.cc:301
void HLPCB(void *, const Helper::Reply &)
Definition: forward.h:27
static CacheType * HelperCache
cache for cert validation helper
Definition: helper.h:58
struct _request * request(char *urlin)
Definition: tcp-banger2.c:291
static helper * ssl_crt_validator
helper for management of ssl_crtd.
Definition: helper.h:55

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors