KSSLPKCS12 Class Reference
KDE PKCS#12 Certificate KDE PKCS#12 Certificate. More...
#include <ksslpkcs12.h>
Public Member Functions | |
virtual | ~KSSLPKCS12 () |
QString | name () |
QString | toString () |
void | setCert (PKCS12 *c) |
bool | changePassword (QString pold, QString pnew) |
EVP_PKEY * | getPrivateKey () |
KSSLCertificate * | getCertificate () |
bool | toFile (QString filename) |
KSSLCertificate::KSSLValidation | validate () |
KSSLCertificate::KSSLValidation | validate (KSSLCertificate::KSSLPurpose p) |
KSSLCertificate::KSSLValidation | revalidate () |
KSSLCertificate::KSSLValidation | revalidate (KSSLCertificate::KSSLPurpose p) |
bool | isValid () |
bool | isValid (KSSLCertificate::KSSLPurpose p) |
Static Public Member Functions | |
static KSSLPKCS12 * | fromString (QString base64, QString password="") |
static KSSLPKCS12 * | loadCertFile (QString filename, QString password="") |
Protected Member Functions | |
bool | parse (QString pass) |
Friends | |
class | KSSL |
Detailed Description
KDE PKCS#12 Certificate KDE PKCS#12 Certificate.As of yet, this class is being defined. if you use it, let it be known that BC will break on you until this message is removed.
- Author:
- George Staikos <staikos@kde.org>
- See also:
- KSSL, KSSLCertificate
Definition at line 61 of file ksslpkcs12.h.
Constructor & Destructor Documentation
|
Destroy this PKCS#12 certificate.
Definition at line 58 of file ksslpkcs12.cc. |
Member Function Documentation
|
The name of this certificate. This can be used to refer to the certificate instead of passing the object itself.
Definition at line 279 of file ksslpkcs12.cc. |
|
Create a KSSLPKCS12 object from a Base64 in a QString.
Definition at line 75 of file ksslpkcs12.cc. References KCodecs::base64Decode(), KTempFile::close(), KTempFile::file(), loadCertFile(), KTempFile::name(), and KTempFile::unlink(). |
|
Create a KSSLPKCS12 object by reading a PKCS#12 file.
Definition at line 93 of file ksslpkcs12.cc. References parse(), and setCert(). Referenced by fromString(). |
|
Convert to a Base64 string.
Definition at line 196 of file ksslpkcs12.cc. References KCodecs::base64Encode(). |
|
Raw set the PKCS12 object.
Definition at line 126 of file ksslpkcs12.cc. Referenced by loadCertFile(). |
|
Change the password of the PKCS#12 in memory.
Definition at line 133 of file ksslpkcs12.cc. |
|
Get the private key.
Definition at line 186 of file ksslpkcs12.cc. |
|
Get the X.509 certificate.
Definition at line 191 of file ksslpkcs12.cc. |
|
Write the PKCS#12 to a file in raw mode.
Definition at line 217 of file ksslpkcs12.cc. |
|
Check the X.509 and private key to make sure they're valid.
Definition at line 240 of file ksslpkcs12.cc. Referenced by isValid(). |
|
Check the X.509 and private key to make sure they're valid.
Definition at line 245 of file ksslpkcs12.cc. |
|
Check the X.509 and private key to make sure they're valid. Ignore any cached validation result.
Definition at line 259 of file ksslpkcs12.cc. |
|
Check the X.509 and private key to make sure they're valid. Ignore any cached validation result.
Definition at line 264 of file ksslpkcs12.cc. |
|
Check if the X.509 and private key are valid.
Definition at line 269 of file ksslpkcs12.cc. |
|
Check if the X.509 and private key are valid.
Definition at line 274 of file ksslpkcs12.cc. References validate(). |
The documentation for this class was generated from the following files: