CertificateData.cc
Go to the documentation of this file.
19ACLCertificateData::ACLCertificateData(Ssl::GETX509ATTRIBUTE * const sslStrategy, const char * const attrs, const bool optionalAttr):
30 validAttributes.push_back(valid.substr( current, (next == std::string::npos ? std::string::npos : next - current)));
95 for (std::list<std::string>::const_iterator it = validAttributes.begin(); it != validAttributes.end(); ++it) {
103 debugs(28, DBG_CRITICAL, "FATAL: Unknown option. Supported option(s) are: " << validAttributesStr);
124 debugs(28, 7, "New SSL certificate attribute created with name: " << newAttribute << " and nid: " << nid);
128 debugs(28, DBG_CRITICAL, "FATAL: Not valid SSL certificate attribute name or numerical OID: " << newAttribute);
bool attributeIsOptional
True if the attribute is optional (-xxx options)
Definition: CertificateData.h:40
Ssl::GETX509ATTRIBUTE * sslAttributeCall
The callback used to retrieve the data from X509 cert.
Definition: CertificateData.h:46
ACLCertificateData(Ssl::GETX509ATTRIBUTE *, const char *attributes, bool optionalAttr=false)
Definition: CertificateData.cc:19
const char * validAttributesStr
Definition: CertificateData.h:36
std::list< std::string > validAttributes
Parsed list of valid attribute names.
Definition: CertificateData.h:38
void SetKey(SBuf &keyStorage, const char *keyParameterName, const char *newKey)
Definition: Acl.cc:79