KIO
kssl.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _KSSL_H
00022 #define _KSSL_H
00023
00024 #include <ksslsettings.h>
00025
00026 class QIODevice;
00027 class KSSLPrivate;
00028 class KSSLSession;
00029
00039 class KIO_EXPORT KSSL {
00040 public:
00047 KSSL(bool init = true);
00048
00054 ~KSSL();
00055
00061 static bool doesSSLWork();
00062
00071 bool initialize();
00072
00079 bool TLSInit();
00080
00091 bool setSession(const KSSLSession *session);
00092
00096 void close();
00097
00107 bool reInitialize();
00108
00118 bool reconfig();
00119
00129 void setAutoReconfig(bool ar);
00130
00138 int seedWithEGD();
00139
00148 bool setSettings(KSSLSettings *settings);
00149
00156 KSSLSettings * settings();
00157
00158 private:
00159 static bool m_bSSLWorks;
00160 bool m_bInit;
00161 bool m_bAutoReconfig;
00162 KSSLSettings *m_cfg;
00163
00164 KSSLPrivate *d;
00165 };
00166
00167
00168 #endif
00169