18#ifndef _DECAF_NET_SSL_SSLSERVERSOCKET_H_
19#define _DECAF_NET_SSL_SSLSERVERSOCKET_H_
Represents an IP address.
Definition: InetAddress.h:33
This class implements server sockets.
Definition: ServerSocket.h:50
Represents a server socket that is used to accept connections from clients using the Secure Sockets p...
Definition: SSLServerSocket.h:36
virtual std::vector< std::string > getEnabledCipherSuites() const =0
Returns a vector containing the names of all the currently enabled Cipher Suites for this SSLServerSo...
virtual bool getWantClientAuth() const =0
virtual bool getNeedClientAuth() const =0
virtual void setEnabledProtocols(const std::vector< std::string > &protocols)=0
Sets the Protocols that are to be enabled on the SSLServerSocket connection.
virtual ~SSLServerSocket()
SSLServerSocket(int port, int backlog, const decaf::net::InetAddress *address)
Creates a new ServerSocket bound to the specified port, if the value of port is 0,...
virtual void setEnabledCipherSuites(const std::vector< std::string > &suites)=0
Sets the Cipher Suites that are to be enabled on the SSLServerSocket connection.
SSLServerSocket()
Creates a non-bound server socket.
SSLServerSocket(int port)
Creates a new ServerSocket bound to the specified port, if the value of port is 0,...
virtual std::vector< std::string > getEnabledProtocols() const =0
Returns a vector containing the names of all the currently enabled Protocols for this SSLServerSocket...
virtual std::vector< std::string > getSupportedCipherSuites() const =0
Gets a vector containing the names of all the cipher suites that are supported by this SSLServerSocke...
SSLServerSocket(int port, int backlog)
Creates a new ServerSocket bound to the specified port, if the value of port is 0,...
virtual void setWantClientAuth(bool value)=0
Sets whether or not this Socket will request Client Authentication.
virtual std::vector< std::string > getSupportedProtocols() const =0
Gets a vector containing the names of all the protocols that could be enabled for this SSLServerSocke...
virtual void setNeedClientAuth(bool value)=0
Sets whether or not this Socket will require Client Authentication.
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25