a helper class to print CNs extracted using Ssl::matchX509CommonNames() More...
Public Member Functions | |
CommonNamesPrinter (std::ostream &os) | |
Static Public Member Functions | |
static int | PrintName (void *, ASN1_STRING *) |
Ssl::matchX509CommonNames() visitor that reports the given name (if any) More... | |
Public Attributes | |
bool | printed = false |
whether any names have been printed so far More... | |
Private Member Functions | |
void | printName (const ASN1_STRING *) |
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
◆ printName()
|
private |
prints an HTML-quoted version of the given common name (as a part of the printed names list)
Definition at line 606 of file ErrorDetail.cc.
References SBuf::c_str(), and html_quote().
◆ PrintName()
|
static |
Definition at line 596 of file ErrorDetail.cc.
References assert.
Referenced by Security::ErrorDetail::printCommonName().
Member Data Documentation
◆ os_
|
private |
Definition at line 592 of file ErrorDetail.cc.
◆ printed
bool CommonNamesPrinter::printed = false |
Definition at line 587 of file ErrorDetail.cc.
Referenced by Security::ErrorDetail::printCommonName().
The documentation for this class was generated from the following file:
- src/security/ErrorDetail.cc