ServerOptions.h
Go to the documentation of this file.
30 typedef std::unique_ptr<STACK_OF(X509_NAME), Security::ServerOptions::sk_X509_NAME_free_wrapper> X509_NAME_STACK_Pointer;
bool updateContextConfig(Security::ContextPointer &)
update the given TLS security context using squid.conf settings
Definition: ServerOptions.cc:453
std::unique_ptr< STACK_OF(X509_NAME), Security::ServerOptions::sk_X509_NAME_free_wrapper > X509_NAME_STACK_Pointer
Definition: ServerOptions.h:30
bool createStaticServerContext(AnyP::PortCfg &)
Definition: ServerOptions.cc:214
~ServerOptions() override=default
void createSigningContexts(const AnyP::PortCfg &)
Definition: ServerOptions.cc:285
struct Security::PeerOptions::flags_ flags
Security::DhePointer parsedDhParams
DH parameters for temporary/ephemeral DH key exchanges.
Definition: ServerOptions.h:119
void dumpCfg(std::ostream &, const char *pfx) const override
output squid.conf syntax with 'pfx' prefix on parameters for the stored settings
Definition: ServerOptions.cc:140
Security::ContextPointer staticContext
TLS context to use for HTTPS accelerator or static SSL-Bump.
Definition: ServerOptions.h:71
size_t dynamicCertMemCacheSize
max size of generated certificates memory cache (4 MB default)
Definition: ServerOptions.h:91
sk_dtor_wrapper(sk_X509_NAME, STACK_OF(X509_NAME) *, X509_NAME_free)
Definition: PortCfg.h:23
void updateContextSessionId(Security::ContextPointer &)
update the context with a configured session ID (if any)
Definition: ServerOptions.cc:575
void updateContextClientCa(Security::ContextPointer &)
update the context with CA details used to verify client certificates
Definition: ServerOptions.cc:495
void updateContextEecdh(Security::ContextPointer &)
update the context with DH, EDH, EECDH settings
Definition: ServerOptions.cc:522
ServerOptions(ServerOptions &&o)
Definition: ServerOptions.h:40
Security::ContextPointer createBlankContext() const override
generate an unset security context object
Definition: ServerOptions.cc:163
YesNoNone tlsDefaultCa
whether to use the system default Trusted CA when verifying the remote end certificate
Definition: PeerOptions.h:139
void initServerContexts(AnyP::PortCfg &)
Definition: ServerOptions.cc:193
ServerOptions(const ServerOptions &o)
Definition: ServerOptions.h:38
Security::KeyData untrustedSigningCa
x509 certificate and key for signing untrusted generated certificates
Definition: ServerOptions.h:88
SBuf eecdhCurve
Elliptic curve for ephemeral EC-based DH key exchanges.
Definition: ServerOptions.h:117
ServerOptions & operator=(const ServerOptions &)
Definition: ServerOptions.cc:35
void defaultTo(bool beSet)
enables or disables the option; updating to 'implicit' state
Definition: YesNoNone.h:59
Security::KeyData signingCa
x509 certificate and key for signing generated certificates
Definition: ServerOptions.h:87
X509_NAME_STACK_Pointer clientCaStack
CA certificate(s) to use when verifying client certificates.
Definition: ServerOptions.h:110
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