KIO
ksslcertificatehome.cpp
Go to the documentation of this file.
35 void KSSLCertificateHome::setDefaultCertificate(const QString & name, const QString &host, bool send, bool prompt)
47 void KSSLCertificateHome::setDefaultCertificate(KSSLPKCS12 *cert, const QString &host, bool send, bool prompt) {
53 bool KSSLCertificateHome::addCertificate(const QString &filename, const QString &password, bool storePass) {
105 KSSLPKCS12* KSSLCertificateHome::getCertificateByName(const QString &name, const QString &password)
136 return KSSLCertificateHome::getCertificateByName(KSSLCertificateHome::getDefaultCertificateName(host, aa), password);
183 KSSLPKCS12* KSSLCertificateHome::getDefaultCertificate(const QString &password, KSSLAuthAction *aa) {
static KSSLPKCS12 * getCertificateByHost(const QString &host, const QString &password, KSSLAuthAction *aa)
Definition: ksslcertificatehome.cpp:133
void sync()
static bool deleteCertificateByName(const QString &name)
Definition: ksslcertificatehome.cpp:94
const char * name(StandardAction id)
void deleteGroup(const QByteArray &group, WriteConfigFlags flags=Normal)
bool hasGroup(const QString &group) const
KConfigGroup group(const QByteArray &group)
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
static QString getDefaultCertificateName(const QString &host, KSSLAuthAction *aa=NULL)
Definition: ksslcertificatehome.cpp:140
bool exists() const
QStringList groupList() const
static KSSLPKCS12 * getCertificateByName(const QString &name, const QString &password)
Definition: ksslcertificatehome.cpp:105
static bool deleteCertificate(const QString &filename, const QString &password)
Definition: ksslcertificatehome.cpp:77
static KSSLPKCS12 * loadCertFile(const QString &filename, const QString &password=QLatin1String(""))
Create a KSSLPKCS12 object by reading a PKCS#12 file.
Definition: ksslpkcs12.cpp:92
KGuiItem ok()
static KSSLPKCS12 * fromString(const QString &base64, const QString &password=QLatin1String(""))
Create a KSSLPKCS12 object from a Base64 in a QString.
Definition: ksslpkcs12.cpp:75
static bool hasCertificateByName(const QString &name)
Definition: ksslcertificatehome.cpp:127
static bool addCertificate(const QString &filename, const QString &password, bool storePass=false)
Definition: ksslcertificatehome.cpp:53
static KSSLPKCS12 * getDefaultCertificate(const QString &password, KSSLAuthAction *aa=NULL)
Definition: ksslcertificatehome.cpp:183
static void setDefaultCertificate(const QString &name, bool send=true, bool prompt=false)
Definition: ksslcertificatehome.cpp:208
void sync()
static QStringList getCertificateList()
Definition: ksslcertificatehome.cpp:28
T readEntry(const QString &key, const T &aDefault) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.