KIO
Go to the documentation of this file.
21 #ifndef _KSSLCERTIFICATEHOME_H
22 #define _KSSLCERTIFICATEHOME_H
26 #include <QtCore/QString>
27 #include <QtCore/QStringList>
41 static KSSLPKCS12* getCertificateByHost(
const QString &host,
const QString &password, KSSLAuthAction* aa);
42 static KSSLPKCS12* getCertificateByName(
const QString &name,
const QString &password);
43 static KSSLPKCS12* getCertificateByName(
const QString &name);
44 static QString getDefaultCertificateName(
const QString &host, KSSLAuthAction *aa = NULL);
45 static QString getDefaultCertificateName(KSSLAuthAction *aa = NULL);
46 static KSSLPKCS12* getDefaultCertificate(
const QString &password, KSSLAuthAction *aa = NULL);
47 static KSSLPKCS12* getDefaultCertificate(KSSLAuthAction *aa = NULL);
48 static bool hasCertificateByName(
const QString &name);
54 static void setDefaultCertificate(
const QString &name,
bool send =
true,
bool prompt =
false);
55 static void setDefaultCertificate(
KSSLPKCS12 *cert,
bool send =
true,
bool prompt =
false);
61 static void setDefaultCertificate(
const QString &name,
const QString &host,
bool send =
true,
bool prompt =
false);
62 static void setDefaultCertificate(
KSSLPKCS12 *cert,
const QString &host,
bool send =
true,
bool prompt =
false);
68 static bool addCertificate(
const QString &filename,
const QString &password,
bool storePass =
false);
69 static bool addCertificate(
KSSLPKCS12 *cert,
const QString &passToStore = QString());
75 static bool deleteCertificate(
const QString &filename,
const QString &password);
76 static bool deleteCertificate(
KSSLPKCS12 *cert);
77 static bool deleteCertificateByName(
const QString &name);
82 static QStringList getCertificateList();
85 class KSSLCertificateHomePrivate;
86 KSSLCertificateHomePrivate* d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.