gloox
1.1-svn
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
tlsschannelserver.h
1
/*
2
* Copyright (c) 2007-2009 by Jakob Schroeter <js@camaya.net>
3
* This file is part of the gloox library. http://camaya.net/gloox
4
*
5
* This software is distributed under a license. The full license
6
* agreement can be found in the file LICENSE in this distribution.
7
* This software may not be copied, modified, sold or distributed
8
* other than expressed in the named license agreement.
9
*
10
* This software is distributed without any warranty.
11
*/
12
13
#ifndef TLSSCHANNELSERVER_H__
14
#define TLSSCHANNELSERVER_H__
15
16
#include "tlsschannelbase.h"
17
18
#include "config.h"
19
20
#ifdef HAVE_WINTLS
21
22
#include <ctime>
23
24
#define SECURITY_WIN32
25
#include <windows.h>
26
#include <security.h>
27
#include <schnlsp.h>
28
#include <wincrypt.h>
29
30
namespace
gloox
31
{
32
39
class
SChannelServer
:
public
SChannelBase
40
{
41
public
:
46
SChannelServer
(
TLSHandler
* th );
47
51
virtual
~SChannelServer
();
52
53
// reimplemented from TLSBase
54
virtual
bool
handshake
();
55
56
private
:
57
void
handshakeStage();
58
virtual
void
privateCleanup();
59
60
};
61
}
62
63
#endif // HAVE_WINTLS
64
65
#endif // TLSSCHANNELSERVER_H__
Generated on Thu Jun 27 2013 13:43:27 for gloox by
1.8.1.2