4 #ifndef SQUID_ACLSERVERCERTIFICATE_H
5 #define SQUID_ACLSERVERCERTIFICATE_H
9 #include "acl/Checklist.h"
10 #include "ssl/support.h"
11 #include "acl/Strategised.h"
14 class ACLServerCertificateStrategy
: public ACLStrategy
<X509
*>
17 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*);
18 static ACLServerCertificateStrategy
*Instance();
19 /* Not implemented to prevent copies of the instance. */
20 /* Not private to prevent brain dead g+++ warnings about
21 * private constructors with no friends */
22 ACLServerCertificateStrategy(ACLServerCertificateStrategy
const &);
25 static ACLServerCertificateStrategy Instance_
;
26 ACLServerCertificateStrategy() {}
28 ACLServerCertificateStrategy
&operator=(ACLServerCertificateStrategy
const &);
32 class ACLServerCertificate
35 static ACL::Prototype X509FingerprintRegistryProtoype
;
36 static ACLStrategised
<X509
*> X509FingerprintRegistryEntry_
;
39 #endif /* SQUID_ACLSERVERCERTIFICATE_H */