2 * Copyright (C) 1996-2015 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_ACLCERTIFICATE_H
10 #define SQUID_ACLCERTIFICATE_H
13 #include "acl/Checklist.h"
15 #include "acl/Strategised.h"
16 #include "ssl/support.h"
19 class ACLCertificateStrategy
: public ACLStrategy
<X509
*>
23 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
24 static ACLCertificateStrategy
*Instance();
25 /* Not implemented to prevent copies of the instance. */
26 /* Not private to prevent brain dead g+++ warnings about
27 * private constructors with no friends */
28 ACLCertificateStrategy(ACLCertificateStrategy
const &);
31 static ACLCertificateStrategy Instance_
;
32 ACLCertificateStrategy() {}
34 ACLCertificateStrategy
&operator=(ACLCertificateStrategy
const &);
42 static ACL::Prototype UserRegistryProtoype
;
43 static ACLStrategised
<X509
*> UserRegistryEntry_
;
44 static ACL::Prototype CARegistryProtoype
;
45 static ACLStrategised
<X509
*> CARegistryEntry_
;
48 #endif /* SQUID_ACLCERTIFICATE_H */