]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) 1996-2025 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_SERVERCERTIFICATE_H | |
10 | #define SQUID_SRC_ACL_SERVERCERTIFICATE_H | |
11 | ||
12 | #include "acl/Data.h" | |
13 | #include "acl/ParameterizedNode.h" | |
14 | #include "security/forward.h" | |
15 | #include "ssl/support.h" | |
16 | ||
17 | namespace Acl | |
18 | { | |
19 | ||
20 | /// a "server_cert_fingerprint" ACL | |
21 | class ServerCertificateCheck: public ParameterizedNode< ACLData<X509 *> > | |
22 | { | |
23 | public: | |
24 | /* Acl::Node API */ | |
25 | int match(ACLChecklist *) override; | |
26 | }; | |
27 | ||
28 | } // namespace Acl | |
29 | ||
30 | #endif /* SQUID_SRC_ACL_SERVERCERTIFICATE_H */ | |
31 |