27 #ifndef PTLIB_SHTTPSVC_H
28 #define PTLIB_SHTTPSVC_H
52 const char * configPageName,
73 const char * dn = NULL
97 #endif // PTLIB_SHTTPSVC_H
Params(const char *configPageName, const char *section=GetDefaultSection())
virtual PBoolean OnDetectedNonSSLConnection(PChannel *chan, const PString &line)
static const PString & GetDefaultSection()
#define PCLASSINFO(cls, par)
Declare all the standard PTLib class information.
Definition: object.h:2164
PSSLContext * m_sslContext
Definition: shttpsvc.h:93
Definition: httpsvc.h:101
This class describes a full description for a file on the particular platform.
Definition: filepath.h:61
const char * m_createCertificateKey
Definition: shttpsvc.h:57
~PSecureHTTPServiceProcess()
const char * m_certificateFileKey
Definition: shttpsvc.h:56
Abstract class defining I/O channel semantics.
Definition: channel.h:103
bool PBoolean
Definition: object.h:174
virtual PString CreateNonSSLMessage(const PString &url)
The character string class.
Definition: pstring.h:108
Context for SSL channels.
Definition: pssl.h:718
virtual PString CreateRedirectMessage(const PString &url)
bool SetServerCredentials(const PString &cert, const PString &key, const PString &ca)
Set the server credentials, certificates etc, to use.
virtual void OnHTTPStarted(PHTTPServer &server)
Callback when a new HTTP connection has begun.
virtual bool InitialiseBase(PHTTPServiceProcess::Params ¶ms)
Definition: shttpsvc.h:49
bool SetServerCertificate(const PFilePath &certFile, bool create=false, const char *dn=NULL)
Set/Create the server certificate to use.
PSecureHTTPServiceProcess(const Info &inf)
A TCP/IP socket for the HyperText Transfer Protocol version 1.0.
Definition: http.h:1042
virtual PChannel * CreateChannelForHTTP(PChannel *channel)
Call back to create transport socket, or TLS, channel.
Definition: shttpsvc.h:41