2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_ACLSERVERCERTIFICATE_H
10 #define SQUID_ACLSERVERCERTIFICATE_H
13 #include "acl/Checklist.h"
15 #include "acl/Strategised.h"
16 #include "ssl/support.h"
19 class ACLServerCertificateStrategy
: public ACLStrategy
<X509
*>
22 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
23 static ACLServerCertificateStrategy
*Instance();
24 /* Not implemented to prevent copies of the instance. */
25 /* Not private to prevent brain dead g+++ warnings about
26 * private constructors with no friends */
27 ACLServerCertificateStrategy(ACLServerCertificateStrategy
const &);
30 static ACLServerCertificateStrategy Instance_
;
31 ACLServerCertificateStrategy() {}
33 ACLServerCertificateStrategy
&operator=(ACLServerCertificateStrategy
const &);
37 class ACLServerCertificate
40 static ACL::Prototype X509FingerprintRegistryProtoype
;
41 static ACLStrategised
<X509
*> X509FingerprintRegistryEntry_
;
44 #endif /* SQUID_ACLSERVERCERTIFICATE_H */