]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/SslErrorData.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / SslErrorData.h
1 /*
2 * Copyright (C) 1996-2016 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_ACLSSL_ERRORDATA_H
10 #define SQUID_ACLSSL_ERRORDATA_H
11
12 #include "acl/Acl.h"
13 #include "acl/Data.h"
14 #include "base/CbDataList.h"
15 #include "ssl/ErrorDetail.h"
16 #include "ssl/support.h"
17 #include <vector>
18
19 class ACLSslErrorData : public ACLData<const Ssl::CertErrors *>
20 {
21 MEMPROXY_CLASS(ACLSslErrorData);
22
23 public:
24 ACLSslErrorData();
25 ACLSslErrorData(ACLSslErrorData const &);
26 ACLSslErrorData &operator= (ACLSslErrorData const &);
27 virtual ~ACLSslErrorData();
28 bool match(const Ssl::CertErrors *);
29 virtual SBufList dump() const;
30 void parse();
31 bool empty() const;
32 virtual ACLSslErrorData *clone() const;
33
34 Ssl::Errors *values;
35 };
36
37 #endif /* SQUID_ACLSSL_ERRORDATA_H */
38