]>
Commit | Line | Data |
---|---|---|
8578e64a | 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. | |
8578e64a AR |
7 | */ |
8 | ||
ff9d9458 FC |
9 | #ifndef SQUID_SRC_ACL_SERVERCERTIFICATE_H |
10 | #define SQUID_SRC_ACL_SERVERCERTIFICATE_H | |
8578e64a | 11 | |
602d9612 | 12 | #include "acl/Data.h" |
8319d478 | 13 | #include "acl/ParameterizedNode.h" |
a7b75c64 | 14 | #include "security/forward.h" |
602d9612 | 15 | #include "ssl/support.h" |
8578e64a | 16 | |
8319d478 AR |
17 | namespace Acl |
18 | { | |
19 | ||
20 | /// a "server_cert_fingerprint" ACL | |
21 | class ServerCertificateCheck: public ParameterizedNode< ACLData<X509 *> > | |
8578e64a | 22 | { |
8578e64a | 23 | public: |
922513e5 | 24 | /* Acl::Node API */ |
8319d478 | 25 | int match(ACLChecklist *) override; |
8578e64a AR |
26 | }; |
27 | ||
8319d478 AR |
28 | } // namespace Acl |
29 | ||
ff9d9458 | 30 | #endif /* SQUID_SRC_ACL_SERVERCERTIFICATE_H */ |
f53969cc | 31 |