00001 /* 00002 * Copyright (c) 2010 Remko Tronçon 00003 * Licensed under the GNU General Public License v3. 00004 * See Documentation/Licenses/GPLv3.txt for more information. 00005 */ 00006 00007 #pragma once 00008 00009 #include <Swiften/TLS/CertificateTrustChecker.h> 00010 00011 namespace Swift { 00020 class BlindCertificateTrustChecker : public CertificateTrustChecker { 00021 public: 00022 virtual bool isCertificateTrusted(const std::vector<Certificate::ref>&) { 00023 return true; 00024 } 00025 }; 00026 }