+ CalDAVServerResult GetEntryETag(string *calendarEntryHREF, string *eTagValue);
+
+ bool CanDoSSL();
+ bool HasValidResponse();
+ bool AbleToLogin();
+ bool IsSelfSigned();
+ std::string GetErrorMessage();
+
+ COSSLVerified SSLVerify();
+ void BypassSSLVerification(bool EnableBypass);
+
+#if defined(__APPLE__)
+
+ SecTrustRef BuildSSLCollection();
+
+#elif defined(__WIN32__)
+
+ PCCERT_CONTEXT BuildSSLCollection();
+
+#else
+ SSLCertCollectionString BuildSSLCollection();
+
+#endif
+
+ struct CalDAVPassObject {
+ CalDAV *CalDAVObject = nullptr;
+ std::string *DataSetting = nullptr;
+ bool ServerUsingSSL = false;
+ CURL *ConnectionSessionObject = nullptr;
+#if defined(__APPLE__)
+ SecTrustRef SSLContext = nullptr;
+#elif defined (__WIN32__)
+ PCCERT_CONTEXT SSLContext = nullptr;
+#endif
+ };
+
+ private:
+ CalDAVPassObject PageDataObject;
+ CalDAVPassObject PageHeaderObject;