SslErrorData.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_ACL_SSLERRORDATA_H
10 #define SQUID_SRC_ACL_SSLERRORDATA_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;
22  ~ACLSslErrorData() override {}
23  bool match(const Security::CertErrors *) override;
24  SBufList dump() const override;
25  void parse() override;
26  bool empty() const override { return values.empty(); }
27 
29 };
30 
31 #endif /* SQUID_SRC_ACL_SSLERRORDATA_H */
32 
bool empty() const override
Definition: SslErrorData.h:26
std::list< SBuf > SBufList
Definition: forward.h:22
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
~ACLSslErrorData() override
Definition: SslErrorData.h:22
SBufList dump() const override
Definition: SslErrorData.cc:26
void parse() override
Definition: SslErrorData.cc:36
Security::Errors values
Definition: SslErrorData.h:28
ACLSslErrorData()=default
bool match(const Security::CertErrors *) override
Definition: SslErrorData.cc:16
MEMPROXY_CLASS(ACLSslErrorData)
std::unordered_set< Security::ErrorCode > Errors
Definition: forward.h:165

 

Introduction

Documentation

Support

Miscellaneous