blob: d232d2976a684366bafe802a5050576b34b0c05b (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 | /*
 * Copyright (c) 2010 Remko Tronçon
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */
#ifndef SWIFTEN_TLSLayer_H
#define SWIFTEN_TLSLayer_H
#include "Swiften/StreamStack/StreamLayer.h"
#include "Swiften/TLS/PKCS12Certificate.h"
namespace Swift {
	class TLSLayer : public StreamLayer {
		public:
			virtual void connect() = 0;
			virtual bool setClientCertificate(const PKCS12Certificate&) = 0;
		public:
			boost::signal<void ()> onError;
			boost::signal<void ()> onConnected;
	};
}
#endif
 |