18 #ifndef _DECAF_INTERNAL_NET_SSL_OPENSSL_OPENSSLPARAMETERS_H_ 19 #define _DECAF_INTERNAL_NET_SSL_OPENSSL_OPENSSLPARAMETERS_H_ 27 #include <openssl/ssl.h> 53 std::vector<std::string> enabledCipherSuites;
54 std::vector<std::string> enabledProtocols;
55 std::vector<std::string> serverNames;
71 return this->needClientAuth;
75 this->needClientAuth = value;
76 this->wantClientAuth =
false;
80 return this->wantClientAuth;
84 this->wantClientAuth = value;
85 this->needClientAuth =
false;
89 return this->useClientMode;
93 this->useClientMode = value;
114 SSL_CTX* getSSLContext()
const {
115 return this->context;
118 SSL* getSSL()
const {
void setNeedClientAuth(bool value)
Definition: OpenSSLParameters.h:74
std::vector< std::string > getEnabledCipherSuites() const
void setEnabledProtocols(const std::vector< std::string > &protocols)
void setServerNames(const std::vector< std::string > &serverNames)
std::vector< std::string > getEnabledProtocols() const
bool getUseClientMode() const
Definition: OpenSSLParameters.h:88
std::vector< std::string > getSupportedProtocols() const
bool getWantClientAuth() const
Definition: OpenSSLParameters.h:79
void setUseClientMode(bool value)
Definition: OpenSSLParameters.h:92
OpenSSLParameters * clone() const
Creates a clone of this object such that all settings are transferred to a new instance of an SSL obj...
std::vector< std::string > getSupportedCipherSuites() const
Container class for parameters that are Common to OpenSSL socket classes.
Definition: OpenSSLParameters.h:41
void setEnabledCipherSuites(const std::vector< std::string > &suites)
virtual ~OpenSSLParameters()
std::vector< std::string > getServerNames() const
bool getNeedClientAuth() const
Definition: OpenSSLParameters.h:70
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25
void setWantClientAuth(bool value)
Definition: OpenSSLParameters.h:83