KIO
ksslpkcs12.cpp
Go to the documentation of this file.
bool flush()
int handle() const
bool toFile(const QString &filename)
Write the PKCS#12 to a file in raw mode.
Definition: ksslpkcs12.cpp:216
bool changePassword(const QString &pold, const QString &pnew)
Change the password of the PKCS#12 in memory.
Definition: ksslpkcs12.cpp:132
QByteArray fromRawData(const char *data, int size)
KSSLValidation revalidate()
Check if this is a valid certificate.
Definition: ksslcertificate.cpp:788
QString getSubject() const
Get the subject of the certificate (X.509 map).
Definition: ksslcertificate.cpp:167
Definition: ksslcertificate.h:119
bool isNull() const
KSSLCertificate::KSSLValidation revalidate()
Check the X.509 and private key to make sure they're valid.
Definition: ksslpkcs12.cpp:258
bool isEmpty() const
const char * constData() const
KSSLCertificate::KSSLValidation validate()
Check the X.509 and private key to make sure they're valid.
Definition: ksslpkcs12.cpp:239
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
Definition: ksslcertificate.h:121
static KSSLPKCS12 * loadCertFile(const QString &filename, const QString &password=QLatin1String(""))
Create a KSSLPKCS12 object by reading a PKCS#12 file.
Definition: ksslpkcs12.cpp:92
QString fileName() const
static KSSLPKCS12 * fromString(const QString &base64, const QString &password=QLatin1String(""))
Create a KSSLPKCS12 object from a Base64 in a QString.
Definition: ksslpkcs12.cpp:75
QByteArray toLatin1() const
QByteArray fromBase64(const QByteArray &base64)
qint64 write(const char *data, qint64 maxSize)
QByteArray toBase64() const
bool open()
bool setCert(const QString &cert)
Re-set the certificate from a base64 string.
Definition: ksslcertificate.cpp:1273
Definition: ksslcertificate.h:146
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.