/* * 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 onError; boost::signal onConnected; }; } #endif