summaryrefslogtreecommitdiffstats
blob: f3ab1e73edd1f1f08ed31f6a8eeddd5f51d34046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2012 Tobias Markmann
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information. 
 */

#pragma once

#include <Swiften/TLS/TLSContextFactory.h>

#include <cassert>

namespace Swift {
	class SecureTransportContextFactory : public TLSContextFactory {
		public:
			bool canCreate() const;
			virtual TLSContext* createTLSContext();

			virtual void setCheckCertificateRevocation(bool b);
	};
}