helper.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2018 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/LruMap.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 const char HLPCB * callback
Definition: stub_helper.cc:16
static LruCache * HelperCache
cache for cert validation helper
Definition: helper.h:58
struct _request * request(char *urlin)
Definition: tcp-banger2.c:291
static void Init()
Init helper structure.
Definition: helper.cc:72
Definition: helper.h:60
static void Shutdown()
Shutdown helper structure.
Definition: helper.cc:103
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:290
void HLPCB(void *, const Helper::Reply &)
Definition: forward.h:27
void const char HLPCB void * data
Definition: stub_helper.cc:16
static void Reconfigure()
Definition: helper.cc:114
Definition: LruMap.h:17
static helper * ssl_crt_validator
helper for management of ssl_crtd.
Definition: helper.h:55
static void Shutdown()
Shutdown helper structure.
Definition: helper.cc:218
void CVHCB(void *, Ssl::CertValidationResponse const &)
Definition: helper.h:48
LruMap< SBuf, Ssl::CertValidationResponse::Pointer, sizeof(Ssl::CertValidationResponse::Pointer)+sizeof(Ssl::CertValidationResponse)> LruCache
Definition: helper.h:57
static helper * ssl_crtd
helper for management of ssl_crtd.
Definition: helper.h:37
static void Reconfigure()
Definition: helper.cc:235
static void Init()
Init helper structure.
Definition: helper.cc:167
static void Submit(CrtdMessage const &message, HLPCB *callback, void *data)
Submit crtd message to external crtd server.
Definition: helper.cc:120

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors