18#ifndef _DECAF_NET_SSL_SSLSOCKETFACTORY_H_
19#define _DECAF_NET_SSL_SSLSOCKETFACTORY_H_
40 static SocketFactory* defaultSocketFactory;
virtual Socket * createSocket()
Creates an unconnected Socket object.
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
Definition SSLContext.h:27
Definition URLStreamHandlerManager.h:26
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25