]>
Commit | Line | Data |
---|---|---|
bbc27441 | 1 | /* |
f70aedc4 | 2 | * Copyright (C) 1996-2021 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 | ||
1b26be8f | 9 | #ifndef SQUID_ACLSSL_ERRORDATA_H |
10 | #define SQUID_ACLSSL_ERRORDATA_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; |
1b26be8f | 22 | ACLSslErrorData(ACLSslErrorData const &); |
23 | ACLSslErrorData &operator= (ACLSslErrorData const &); | |
83f8d8f9 | 24 | virtual ~ACLSslErrorData() {} |
92e3827b | 25 | bool match(const Security::CertErrors *); |
2cb8d372 | 26 | virtual SBufList dump() const; |
1b26be8f | 27 | void parse(); |
83f8d8f9 | 28 | bool empty() const { return values.empty(); } |
fb2178bb | 29 | virtual ACLSslErrorData *clone() const; |
1b26be8f | 30 | |
83f8d8f9 | 31 | Security::Errors values; |
1b26be8f | 32 | }; |
33 | ||
1b26be8f | 34 | #endif /* SQUID_ACLSSL_ERRORDATA_H */ |
f53969cc | 35 |