|
Squid Web Cache master
|
#include <gadgets.h>
Public Member Functions | |
| CertificateProperties () | |
Public Attributes | |
| Security::CertPointer | mimicCert |
| Certificate to mimic. | |
| Security::CertPointer | signWithX509 |
| Certificate to sign the generated request. | |
| Security::PrivateKeyPointer | signWithPkey |
| The key of the signing certificate. | |
| bool | setValidAfter |
| Do not mimic "Not Valid After" field. | |
| bool | setValidBefore |
| Do not mimic "Not Valid Before" field. | |
| bool | setCommonName |
| Replace the CN field of the mimicking subject with the given. | |
| std::string | commonName |
| A CN to use for the generated certificate. | |
| CertSignAlgorithm | signAlgorithm |
| The signing algorithm to use. | |
| const EVP_MD * | signHash |
| The signing hash to use. | |
Private Member Functions | |
| CertificateProperties (CertificateProperties &) | |
| CertificateProperties & | operator= (CertificateProperties const &) |
Simple struct to pass certificate generation parameters to generateSslCertificate function.
| Ssl::CertificateProperties::CertificateProperties | ( | ) |
Definition at line 292 of file gadgets.cc.
References Ssl::algSignEnd.
|
private |
|
private |
| std::string Ssl::CertificateProperties::commonName |
Definition at line 241 of file gadgets.h.
Referenced by buildCertificate(), ConnStateData::buildSslCertGenerationParams(), Ssl::certificateMatchesProperties(), Ssl::CrtdMessage::composeRequest(), Ssl::generateUntrustedCert(), ConnStateData::getSslContextStart(), ConnStateData::getTlsContextFromCache(), Ssl::InRamCertificateDbKey(), Ssl::OnDiskCertificateDbKey(), and Ssl::CrtdMessage::parseRequest().
| Security::CertPointer Ssl::CertificateProperties::mimicCert |
Definition at line 235 of file gadgets.h.
Referenced by buildCertificate(), ConnStateData::buildSslCertGenerationParams(), Ssl::certificateMatchesProperties(), Ssl::CrtdMessage::composeRequest(), Ssl::generateUntrustedCert(), Ssl::InRamCertificateDbKey(), Ssl::OnDiskCertificateDbKey(), Ssl::CrtdMessage::parseRequest(), and processNewRequest().
| bool Ssl::CertificateProperties::setCommonName |
Definition at line 240 of file gadgets.h.
Referenced by buildCertificate(), ConnStateData::buildSslCertGenerationParams(), Ssl::certificateMatchesProperties(), Ssl::CrtdMessage::composeRequest(), Ssl::generateUntrustedCert(), Ssl::InRamCertificateDbKey(), Ssl::OnDiskCertificateDbKey(), and Ssl::CrtdMessage::parseRequest().
| bool Ssl::CertificateProperties::setValidAfter |
Definition at line 238 of file gadgets.h.
Referenced by buildCertificate(), ConnStateData::buildSslCertGenerationParams(), Ssl::certificateMatchesProperties(), Ssl::CrtdMessage::composeRequest(), Ssl::InRamCertificateDbKey(), Ssl::OnDiskCertificateDbKey(), and Ssl::CrtdMessage::parseRequest().
| bool Ssl::CertificateProperties::setValidBefore |
Definition at line 239 of file gadgets.h.
Referenced by buildCertificate(), ConnStateData::buildSslCertGenerationParams(), Ssl::certificateMatchesProperties(), Ssl::CrtdMessage::composeRequest(), Ssl::InRamCertificateDbKey(), Ssl::OnDiskCertificateDbKey(), and Ssl::CrtdMessage::parseRequest().
| CertSignAlgorithm Ssl::CertificateProperties::signAlgorithm |
Definition at line 242 of file gadgets.h.
Referenced by ConnStateData::buildSslCertGenerationParams(), Ssl::certificateMatchesProperties(), Ssl::CrtdMessage::composeRequest(), generateFakeSslCertificate(), Ssl::generateUntrustedCert(), ConnStateData::getSslContextStart(), Ssl::InRamCertificateDbKey(), Ssl::OnDiskCertificateDbKey(), and Ssl::CrtdMessage::parseRequest().
| const EVP_MD* Ssl::CertificateProperties::signHash |
Definition at line 243 of file gadgets.h.
Referenced by ConnStateData::buildSslCertGenerationParams(), Ssl::CrtdMessage::composeRequest(), generateFakeSslCertificate(), Ssl::InRamCertificateDbKey(), Ssl::OnDiskCertificateDbKey(), and Ssl::CrtdMessage::parseRequest().
| Security::PrivateKeyPointer Ssl::CertificateProperties::signWithPkey |
Definition at line 237 of file gadgets.h.
Referenced by ConnStateData::buildSslCertGenerationParams(), Ssl::CrtdMessage::composeRequest(), generateFakeSslCertificate(), Ssl::generateUntrustedCert(), and Ssl::CrtdMessage::parseRequest().
| Security::CertPointer Ssl::CertificateProperties::signWithX509 |
Definition at line 236 of file gadgets.h.
Referenced by buildCertificate(), ConnStateData::buildSslCertGenerationParams(), Ssl::certificateMatchesProperties(), Ssl::CrtdMessage::composeRequest(), createSerial(), generateFakeSslCertificate(), and Ssl::CrtdMessage::parseRequest().