ksslsigners.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _INCLUDE_KSSLSIGNERS_H
00023 #define _INCLUDE_KSSLSIGNERS_H
00024
00025 #include <qstringlist.h>
00026
00027 class KSSLCertificate;
00028 class DCOPClient;
00029
00030
00031 class KSSLSigners {
00032 public:
00033
00034 KSSLSigners();
00035 ~KSSLSigners();
00036
00037 bool addCA(KSSLCertificate& cert,
00038 bool ssl,
00039 bool email,
00040 bool code);
00041
00042 bool addCA(QString cert,
00043 bool ssl,
00044 bool email,
00045 bool code);
00046
00047 bool regenerate();
00048
00049 bool useForSSL(KSSLCertificate& cert);
00050
00051 bool useForSSL(QString subject);
00052
00053 bool useForEmail(KSSLCertificate& cert);
00054
00055 bool useForEmail(QString subject);
00056
00057 bool useForCode(KSSLCertificate& cert);
00058
00059 bool useForCode(QString subject);
00060
00061 bool remove(KSSLCertificate& cert);
00062
00063 bool remove(QString subject);
00064
00065 QStringList list();
00066
00067 QString getCert(QString subject);
00068
00069 bool setUse(QString subject, bool ssl, bool email, bool code);
00070
00071 private:
00072 class KSSLSignersPrivate;
00073 KSSLSignersPrivate *d;
00074
00075 DCOPClient *dcc;
00076 };
00077
00078
00079 #endif
This file is part of the documentation for kdelibs Version 3.1.4.