SslErrorData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 "security/forward.h"
15 
16 class ACLSslErrorData : public ACLData<const Security::CertErrors *>
17 {
19 
20 public:
21  ACLSslErrorData() = default;
24  virtual ~ACLSslErrorData() {}
25  bool match(const Security::CertErrors *);
26  virtual SBufList dump() const;
27  void parse();
28  bool empty() const { return values.empty(); }
29  virtual ACLSslErrorData *clone() const;
30 
32 };
33 
34 #endif /* SQUID_ACLSSL_ERRORDATA_H */
35 
bool empty() const
Definition: SslErrorData.h:28
virtual ~ACLSslErrorData()
Definition: SslErrorData.h:24
virtual ACLSslErrorData * clone() const
Definition: SslErrorData.cc:48
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
virtual SBufList dump() const
Definition: SslErrorData.cc:30
Security::Errors values
Definition: SslErrorData.h:31
bool match(const Security::CertErrors *)
Definition: SslErrorData.cc:20
std::list< SBuf > SBufList
Definition: forward.h:26
ACLSslErrorData()=default
std::unordered_set< Security::ErrorCode > Errors
Definition: forward.h:133
MEMPROXY_CLASS(ACLSslErrorData)
ACLSslErrorData & operator=(ACLSslErrorData const &)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors