18 #ifndef _DECAF_NET_SSL_SSLPARAMETERS_H_ 19 #define _DECAF_NET_SSL_SSLPARAMETERS_H_ 33 std::vector<std::string> cipherSuites;
34 std::vector<std::string> protocols;
35 std::vector<std::string> serverNames;
65 SSLParameters(
const std::vector<std::string>& cipherSuites,
const std::vector<std::string>& protocols);
73 return this->cipherSuites;
83 this->cipherSuites = cipherSuites;
90 return this->protocols;
100 this->protocols = protocols;
107 return this->wantClientAuth;
117 this->wantClientAuth = wantClientAuth;
118 this->needClientAuth =
false;
125 return this->needClientAuth;
136 this->needClientAuth = needClientAuth;
137 this->wantClientAuth =
false;
149 this->serverNames = serverNames;
160 return this->serverNames;
std::vector< std::string > getServerNames() const
Gets the currently set list of server names used.
Definition: SSLParameters.h:159
std::vector< std::string > getCipherSuites() const
Definition: SSLParameters.h:72
void setServerNames(const std::vector< std::string > &serverNames)
Sets the Server Names that this client wants to encode for use during the SSL Handshaking phase...
Definition: SSLParameters.h:148
void setWantClientAuth(bool wantClientAuth)
Sets whether client authentication should be requested.
Definition: SSLParameters.h:116
void setProtocols(const std::vector< std::string > &protocols)
Sets the vector of protocols.
Definition: SSLParameters.h:99
std::vector< std::string > getProtocols() const
Definition: SSLParameters.h:89
void setNeedClientAuth(bool needClientAuth)
Sets whether client authentication should be required.
Definition: SSLParameters.h:135
Definition: SSLParameters.h:30
#define DECAF_API
Definition: Config.h:29
bool getNeedClientAuth() const
Definition: SSLParameters.h:124
void setCipherSuites(const std::vector< std::string > &cipherSuites)
Sets the vector of ciphersuites.
Definition: SSLParameters.h:82
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25
bool getWantClientAuth() const
Definition: SSLParameters.h:106