ProxyCerts.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_SRC_SSL_PROXYCERTS_H
10 #define SQUID_SRC_SSL_PROXYCERTS_H
11 
12 #if USE_OPENSSL
13 #include "acl/forward.h"
14 #include "acl/Gadgets.h"
15 #include "ssl/gadgets.h"
16 
18 {
19 public:
20  sslproxy_cert_sign() = default;
21  sslproxy_cert_sign(sslproxy_cert_sign &&) = delete; // prohibit all copy/move
23  while (const auto first = next) {
24  next = first->next;
25  first->next = nullptr;
26  delete first;
27  }
28  if (aclList)
30  }
31 
32 public:
34  ACLList *aclList = nullptr;
36 };
37 
39 {
40 public:
41  sslproxy_cert_adapt() = default;
42  sslproxy_cert_adapt(sslproxy_cert_adapt &&) = delete; // prohibit all copy/move
44  while (const auto first = next) {
45  next = first->next;
46  first->next = nullptr;
47  delete first;
48  }
49  xfree(param);
50  if (aclList)
52  }
53 
54 public:
56  char *param = nullptr;
57  ACLList *aclList = nullptr;
59 };
60 #endif
61 
62 #endif /* SQUID_SRC_SSL_PROXYCERTS_H */
63 
CertSignAlgorithm
Definition: gadgets.h:169
sslproxy_cert_sign()=default
Ssl::CertAdaptAlgorithm alg
Definition: ProxyCerts.h:55
sslproxy_cert_adapt()=default
CertAdaptAlgorithm
Definition: gadgets.h:207
@ algSignEnd
Definition: gadgets.h:169
#define xfree
ACLList * aclList
Definition: ProxyCerts.h:57
Ssl::CertSignAlgorithm alg
Definition: ProxyCerts.h:33
ACLList * aclList
Definition: ProxyCerts.h:34
@ algSetEnd
Definition: gadgets.h:207
sslproxy_cert_adapt * next
Definition: ProxyCerts.h:58
sslproxy_cert_sign * next
Definition: ProxyCerts.h:35
void aclDestroyAclList(ACLList **list)
Definition: Gadgets.cc:214

 

Introduction

Documentation

Support

Miscellaneous