]>
Commit | Line | Data |
---|---|---|
bbc27441 AJ |
1 | /* |
2 | * Copyright (C) 1996-2014 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 | ||
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" | |
b0c2361b | 14 | #include "base/CbDataList.h" |
4d16918e | 15 | #include "ssl/ErrorDetail.h" |
602d9612 | 16 | #include "ssl/support.h" |
fb2178bb | 17 | #include <vector> |
1b26be8f | 18 | |
62a7607e | 19 | class ACLSslErrorData : public ACLData<const Ssl::CertErrors *> |
1b26be8f | 20 | { |
1b26be8f | 21 | MEMPROXY_CLASS(ACLSslErrorData); |
22 | ||
741c2986 | 23 | public: |
1b26be8f | 24 | ACLSslErrorData(); |
25 | ACLSslErrorData(ACLSslErrorData const &); | |
26 | ACLSslErrorData &operator= (ACLSslErrorData const &); | |
27 | virtual ~ACLSslErrorData(); | |
62a7607e | 28 | bool match(const Ssl::CertErrors *); |
2cb8d372 | 29 | virtual SBufList dump() const; |
1b26be8f | 30 | void parse(); |
31 | bool empty() const; | |
fb2178bb | 32 | virtual ACLSslErrorData *clone() const; |
1b26be8f | 33 | |
4fb72cb9 | 34 | Ssl::Errors *values; |
1b26be8f | 35 | }; |
36 | ||
1b26be8f | 37 | #endif /* SQUID_ACLSSL_ERRORDATA_H */ |