KSSLPKCS7 Class Reference
KDE PKCS#7 Certificate KDE PKCS#7 Certificate. More...
#include <ksslpkcs7.h>
Collaboration diagram for KSSLPKCS7:

| 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 | |
| KSSLPKCS7 * | fromString (QString base64) | 
| KSSLPKCS7 * | loadCertFile (QString filename) | 
| Friends | |
| class | KSSL | 
Detailed Description
KDE PKCS#7 Certificate KDE PKCS#7 Certificate.This class represents a PKCS#7 certificate
- Author:
- George Staikos <staikos@kde.org>
- See also:
- KSSL
Definition at line 56 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(), QString::isEmpty(), QString::latin1(), 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 QFile::handle(), QFile::open(), and 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 QFile::handle(), KOpenSSLProxy::i2d_PKCS7_fp(), QString::latin1(), and QFile::open(). | 
| 
 | 
| 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:

