#include <CertificateData.h>


Public Member Functions | |
| ACLCertificateData (Ssl::GETX509ATTRIBUTE *, const char *attributes, bool optionalAttr=false) | |
| bool | match (X509 *) override | 
| SBufList | dump () const override | 
| void | parse () override | 
| bool | empty () const override | 
| virtual const Acl::Options & | lineOptions () | 
| supported ACL "line" options (e.g., "-i")  More... | |
| virtual SBufList | dump () const=0 | 
| virtual void | prepareForUse () | 
| virtual bool | empty () const=0 | 
Public Attributes | |
| const char * | validAttributesStr | 
| std::list< std::string > | validAttributes | 
| Parsed list of valid attribute names.  More... | |
| bool | attributeIsOptional | 
| True if the attribute is optional (-xxx options)  More... | |
| SBuf | attribute | 
| ACLStringData | values | 
Private Member Functions | |
| MEMPROXY_CLASS (ACLCertificateData) | |
Private Attributes | |
| Ssl::GETX509ATTRIBUTE * | sslAttributeCall | 
| The callback used to retrieve the data from X509 cert.  More... | |
Detailed Description
Definition at line 21 of file CertificateData.h.
Constructor & Destructor Documentation
◆ ACLCertificateData()
| ACLCertificateData::ACLCertificateData | ( | Ssl::GETX509ATTRIBUTE * | sslStrategy, | 
| const char * | attributes, | ||
| bool | optionalAttr = false  | 
        ||
| ) | 
Definition at line 19 of file CertificateData.cc.
References validAttributes.
Member Function Documentation
◆ dump() [1/2]
      
  | 
  override | 
Definition at line 65 of file CertificateData.cc.
References attribute, ACLStringData::dump(), validAttributesStr, and values.
◆ dump() [2/2]
◆ empty() [1/2]
      
  | 
  override | 
Definition at line 143 of file CertificateData.cc.
References ACLStringData::empty(), and values.
◆ empty() [2/2]
      
  | 
  pure virtualinherited | 
◆ lineOptions()
      
  | 
  inlinevirtualinherited | 
◆ match()
      
  | 
  overridevirtual | 
Implements ACLData< X509 * >.
Definition at line 51 of file CertificateData.cc.
References attribute, SBuf::c_str(), debugs, SBuf::isEmpty(), ACLStringData::match(), sslAttributeCall, and values.
◆ MEMPROXY_CLASS()
      
  | 
  private | 
◆ parse()
      
  | 
  overridevirtual | 
Implements ACLData< X509 * >.
Definition at line 76 of file CertificateData.cc.
References attribute, attributeIsOptional, DBG_CRITICAL, debugs, ACLStringData::insert(), SBuf::isEmpty(), ACLStringData::parse(), self_destruct(), Acl::SetKey(), ConfigParser::strtokFile(), validAttributes, validAttributesStr, and values.
◆ prepareForUse()
      
  | 
  inlinevirtualinherited | 
Member Data Documentation
◆ attribute
| SBuf ACLCertificateData::attribute | 
Definition at line 41 of file CertificateData.h.
◆ attributeIsOptional
| bool ACLCertificateData::attributeIsOptional | 
Definition at line 40 of file CertificateData.h.
Referenced by parse().
◆ sslAttributeCall
      
  | 
  private | 
Definition at line 46 of file CertificateData.h.
Referenced by match().
◆ validAttributes
| std::list<std::string> ACLCertificateData::validAttributes | 
Definition at line 38 of file CertificateData.h.
Referenced by ACLCertificateData(), and parse().
◆ validAttributesStr
| const char* ACLCertificateData::validAttributesStr | 
A '|'-delimited list of valid ACL attributes. A "*" item means that any attribute is acceptable. Assumed to be a const-string and is never duped/freed. Nil unless ACL form is: acl Name type attribute value1 ...
Definition at line 36 of file CertificateData.h.
◆ values
| ACLStringData ACLCertificateData::values | 
The documentation for this class was generated from the following files:
- src/acl/CertificateData.h
 - src/acl/CertificateData.cc
 
Introduction
- About Squid
 - Why Squid?
 - Squid Developers
 - How to Donate
 - How to Help Out
 - Getting Squid
 - Squid Source Packages
 - Squid Deployment Case-Studies
 - Squid Software Foundation
 
Documentation
- Quick Setup
 - Configuration:
 - FAQ and Wiki
 - Guide Books:
 - Non-English
 - More...
 
Support
- Security Advisories
 - Bugzilla Database
 - Mailing lists
 - Contacting us
 - Commercial services
 - Project Sponsors
 - Squid-based products
 
