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_SSLPROXYCERTS_H_
10#define SQUID_SSLPROXYCERTS_H_
11
12#if USE_OPENSSL
13#include "acl/forward.h"
14#include "acl/Gadgets.h"
15#include "ssl/gadgets.h"
16
18{
19public:
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
32public:
34 ACLList *aclList = nullptr;
36};
37
39{
40public:
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
54public:
56 char *param = nullptr;
57 ACLList *aclList = nullptr;
59};
60#endif
61
62#endif /* SQUID_SSLPROXYCERTS_H_ */
63
#define ACLList
Definition: forward.h:46
sslproxy_cert_adapt()=default
ACLList * aclList
Definition: ProxyCerts.h:57
sslproxy_cert_adapt(sslproxy_cert_adapt &&)=delete
sslproxy_cert_adapt * next
Definition: ProxyCerts.h:58
Ssl::CertAdaptAlgorithm alg
Definition: ProxyCerts.h:55
ACLList * aclList
Definition: ProxyCerts.h:34
sslproxy_cert_sign(sslproxy_cert_sign &&)=delete
Ssl::CertSignAlgorithm alg
Definition: ProxyCerts.h:33
sslproxy_cert_sign * next
Definition: ProxyCerts.h:35
sslproxy_cert_sign()=default
void aclDestroyAclList(ACLList **list)
Definition: Gadgets.cc:267
CertAdaptAlgorithm
Definition: gadgets.h:204
CertSignAlgorithm
Definition: gadgets.h:166
@ algSetEnd
Definition: gadgets.h:204
@ algSignEnd
Definition: gadgets.h:166
#define xfree

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors