]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/SslErrorData.h
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_ACLSSL_ERRORDATA_H
10 #define SQUID_ACLSSL_ERRORDATA_H
14 #include "security/forward.h"
16 class ACLSslErrorData
: public ACLData
<const Security::CertErrors
*>
18 MEMPROXY_CLASS(ACLSslErrorData
);
21 ACLSslErrorData() = default;
22 ACLSslErrorData(ACLSslErrorData
const &);
23 ACLSslErrorData
&operator= (ACLSslErrorData
const &);
24 virtual ~ACLSslErrorData() {}
25 bool match(const Security::CertErrors
*);
26 virtual SBufList
dump() const;
28 bool empty() const { return values
.empty(); }
29 virtual ACLSslErrorData
*clone() const;
31 Security::Errors values
;
34 #endif /* SQUID_ACLSSL_ERRORDATA_H */