gloox
1.1-svn
|
#include <tlsschannelserver.h>
Public Member Functions | |
SChannelServer (TLSHandler *th) | |
virtual | ~SChannelServer () |
virtual bool | handshake () |
Public Member Functions inherited from SChannelBase | |
SChannelBase (TLSHandler *th, const std::string &server) | |
virtual | ~SChannelBase () |
virtual bool | init (const std::string &clientKey=EmptyString, const std::string &clientCerts=EmptyString, const StringList &cacerts=StringList()) |
virtual bool | encrypt (const std::string &data) |
virtual int | decrypt (const std::string &data) |
virtual void | cleanup () |
Public Member Functions inherited from TLSBase | |
TLSBase (TLSHandler *th, const std::string server) | |
virtual | ~TLSBase () |
void | setInitLib (bool init) |
virtual void | setSubject (const std::string &subject) |
virtual bool | isSecure () const |
virtual const CertInfo & | fetchTLSInfo () const |
This class implements a server-side TLS backend using SChannel.
Definition at line 39 of file tlsschannelserver.h.
SChannelServer | ( | TLSHandler * | th | ) |
Constructor.
th | The TLSHandler to handle TLS-related events. |
Definition at line 22 of file tlsschannelserver.cpp.
|
virtual |
Virtual destructor.
Definition at line 28 of file tlsschannelserver.cpp.
|
virtual |
This functiopn performs the TLS handshake. Handshake data from the server side should be fed in using decrypt(). Handshake data that is to be sent to the other side is pushed through TLSBase's handleEncryptedData().
Implements TLSBase.
Definition at line 35 of file tlsschannelserver.cpp.