18#ifndef _DECAF_NET_SSL_SSLSOCKETFACTORY_H_
19#define _DECAF_NET_SSL_SSLSOCKETFACTORY_H_
111 using SocketFactory::createSocket;
The SocketFactory is used to create Socket objects and can be sub-classed to provide other types of S...
Definition: SocketFactory.h:39
Factory class interface for a SocketFactory that can create SSLSocket objects.
Definition: SSLSocketFactory.h:37
virtual Socket * createSocket(Socket *socket, std::string host, int port, bool autoClose)=0
Returns a socket layered over an existing socket connected to the named host, at the given port.
static SocketFactory * getDefault()
Returns the current default SSL SocketFactory, the factory is returned as a pointer however the calle...
virtual ~SSLSocketFactory()
virtual std::vector< std::string > getSupportedCipherSuites()=0
Returns the names of the cipher suites which could be enabled for use on an SSL connection.
virtual std::vector< std::string > getDefaultCipherSuites()=0
Returns the list of cipher suites which are enabled by default.
#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