// You should have received a copy of the GNU General Public License along
// with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
-#include <map>
-
#ifndef __COMMON_SSLCERTSTRUCTS_H__
#define __COMMON_SSLCERTSTRUCTS_H__
+#include <map>
+#include <string>
+#include <wx/wx.h>
struct SSLCertData{
int SuccessCode = 0;
- //std::map<int, int> SSLCollection;
std::map<int, SSLCertData> SSLCollection;
};
+struct SSLCertDataString{
+
+ std::multimap<std::string, std::string> CertData;
+
+};
+
+struct SSLCertCollectionString{
+
+ int SuccessCode = 0;
+
+ std::map<int, SSLCertDataString> SSLCollection;
+
+};
+
#endif
\ No newline at end of file
virtual bool IsTaskCompleted() {};
virtual COConnectResult Connect(bool DoAuthentication) {};
+ virtual void BypassSSLVerification(bool EnableBypass) {};
- virtual std::string GetDefaultPrefix() {};
+ virtual COServerResponse GetDefaultPrefix(std::string *ServerPrefix) {};
virtual COServerResponse AddContact(std::string Location, std::string Data) {};
virtual COServerResponse EditContact(std::string Location, std::string Data) {};
virtual COServerResponse DeleteContact(std::string Location, std::string EntityTag) {};