prints X.509 names extracted using Ssl::HasMatchingSubjectName() More...


| Public Member Functions | |
| CommonNamesPrinter (std::ostream &os) | |
| bool | match (const Ssl::GeneralName &) const | 
| whether the given name satisfies algorithm conditions  More... | |
| Public Attributes | |
| size_t | printed = 0 | 
| the number of names printed so far  More... | |
| Protected Member Functions | |
| bool | matchDomainName (const Dns::DomainName &) const override | 
| bool | matchIp (const Ip::Address &) const override | 
| Private Member Functions | |
| std::ostream & | itemStream () const | 
| Private Attributes | |
| std::ostream & | os_ | 
| destination for printed names  More... | |
Detailed Description
Definition at line 578 of file ErrorDetail.cc.
Constructor & Destructor Documentation
◆ CommonNamesPrinter()
| 
 | inlineexplicit | 
Definition at line 581 of file ErrorDetail.cc.
Member Function Documentation
◆ itemStream()
| 
 | private | 
prints a comma in front of each item except for the very first one
- Returns
- a stream for printing the name
Definition at line 617 of file ErrorDetail.cc.
◆ match()
| 
 | inherited | 
Definition at line 84 of file support.cc.
References Assure, AnyP::Host::domainName(), AnyP::Host::ip(), Ssl::GeneralNameMatcher::matchDomainName(), and Ssl::GeneralNameMatcher::matchIp().
Referenced by Ssl::HasMatchingSubjectName().
◆ matchDomainName()
| 
 | overrideprotectedvirtual | 
Implements Ssl::GeneralNameMatcher.
Definition at line 598 of file ErrorDetail.cc.
References html_quote().
◆ matchIp()
| 
 | overrideprotectedvirtual | 
Implements Ssl::GeneralNameMatcher.
Definition at line 606 of file ErrorDetail.cc.
References MAX_IPSTRLEN, and Ip::Address::toStr().
Member Data Documentation
◆ os_
| 
 | private | 
Definition at line 594 of file ErrorDetail.cc.
◆ printed
| 
 | mutable | 
Definition at line 584 of file ErrorDetail.cc.
Referenced by Security::ErrorDetail::printCommonName().
The documentation for this class was generated from the following file:
- src/security/ErrorDetail.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
