KSSLPKCS7 Class Reference
KDE PKCS#7 CertificateKDE PKCS#7 Certificate. More...
#include <ksslpkcs7.h>
Public Member Functions | |
virtual | ~KSSLPKCS7 () |
QString | name () |
QString | toString () |
void | setCert (PKCS7 *c) |
KSSLCertificate * | getCertificate () |
KSSLCertChain * | getChain () |
bool | toFile (QString filename) |
KSSLCertificate::KSSLValidation | validate () |
KSSLCertificate::KSSLValidation | revalidate () |
bool | isValid () |
Static Public Member Functions | |
static KSSLPKCS7 * | fromString (QString base64) |
static KSSLPKCS7 * | loadCertFile (QString filename) |
Friends | |
class | KSSL |
Detailed Description
KDE PKCS#7 CertificateKDE PKCS#7 Certificate.This class represents a PKCS#7 certificate
- Author:
- George Staikos <staikos@kde.org>
- See also:
- KSSL
Definition at line 60 of file ksslpkcs7.h.
Constructor & Destructor Documentation
|
Destroy this PKCS#7 certificate.
Definition at line 55 of file ksslpkcs7.cc. References KOpenSSLProxy::PKCS7_free(). |
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 191 of file ksslpkcs7.cc. References KSSLCertificate::getSubject(). |
|
Create a KSSLPKCS7 object from a Base64 in a QString.
Definition at line 63 of file ksslpkcs7.cc. References KCodecs::base64Decode(), KTempFile::close(), KTempFile::file(), loadCertFile(), KTempFile::name(), and KTempFile::unlink(). |
|
Create a KSSLPKCS7 object by reading a PKCS#7 file.
Definition at line 81 of file ksslpkcs7.cc. References setCert(). Referenced by fromString(). |
|
Convert to a Base64 string.
Definition at line 125 of file ksslpkcs7.cc. References KCodecs::base64Encode(), and KOpenSSLProxy::i2d_PKCS7(). |
|
Raw set the PKCS7 object.
Definition at line 105 of file ksslpkcs7.cc. Referenced by loadCertFile(). |
|
Get the bottom level X.509 certificate.
Definition at line 115 of file ksslpkcs7.cc. |
|
Get the certificate chain.
Definition at line 120 of file ksslpkcs7.cc. |
|
Write the PKCS#7 to a file in raw mode.
Definition at line 146 of file ksslpkcs7.cc. References KOpenSSLProxy::i2d_PKCS7_fp(). |
|
Check the chain to make sure it's valid.
Definition at line 169 of file ksslpkcs7.cc. References KSSLCertificate::validate(). Referenced by isValid(). |
|
Check the chain to make sure it's valid. Ignore any cached validation result.
Definition at line 179 of file ksslpkcs7.cc. References KSSLCertificate::revalidate(). |
|
Return true if the chain is valid.
Definition at line 186 of file ksslpkcs7.cc. References validate(). |
The documentation for this class was generated from the following files: