]>
Commit | Line | Data |
---|---|---|
bbc27441 | 1 | /* |
1f7b830e | 2 | * Copyright (C) 1996-2025 The Squid Software Foundation and contributors |
bbc27441 AJ |
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 | ||
ff9d9458 FC |
9 | #ifndef SQUID_SRC_ACL_SSLERRORDATA_H |
10 | #define SQUID_SRC_ACL_SSLERRORDATA_H | |
741c2986 | 11 | |
3ad63615 AR |
12 | #include "acl/Acl.h" |
13 | #include "acl/Data.h" | |
92e3827b | 14 | #include "security/forward.h" |
1b26be8f | 15 | |
92e3827b | 16 | class ACLSslErrorData : public ACLData<const Security::CertErrors *> |
1b26be8f | 17 | { |
1b26be8f | 18 | MEMPROXY_CLASS(ACLSslErrorData); |
19 | ||
741c2986 | 20 | public: |
83f8d8f9 | 21 | ACLSslErrorData() = default; |
337b9aa4 AR |
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(); } | |
1b26be8f | 27 | |
83f8d8f9 | 28 | Security::Errors values; |
1b26be8f | 29 | }; |
30 | ||
ff9d9458 | 31 | #endif /* SQUID_SRC_ACL_SSLERRORDATA_H */ |
f53969cc | 32 |