KIO
#include <ksslsigners.h>
Public Member Functions | |
KSSLSigners () | |
~KSSLSigners () | |
bool | addCA (KSSLCertificate &cert, bool ssl, bool email, bool code) const |
bool | addCA (const QString &cert, bool ssl, bool email, bool code) const |
QString | getCert (const QString &subject) |
QStringList | list () |
bool | regenerate () |
bool | remove (KSSLCertificate &cert) |
bool | remove (const QString &subject) |
bool | setUse (const QString &subject, bool ssl, bool email, bool code) |
bool | useForCode (KSSLCertificate &cert) const |
bool | useForCode (const QString &subject) const |
bool | useForEmail (KSSLCertificate &cert) const |
bool | useForEmail (const QString &subject) const |
bool | useForSSL (KSSLCertificate &cert) const |
bool | useForSSL (const QString &subject) const |
Detailed Description
KDE SSL Signer Database.
This class is used to manipulate the KDE SSL signer database. It communicates to the KDE SSL daemon via dcop for backend integration.
- See also
- KSSL, KSSLCertificate KDE SSL Signer Database
Definition at line 42 of file ksslsigners.h.
Constructor & Destructor Documentation
KSSLSigners::KSSLSigners | ( | ) |
Construct a KSSLSigner object.
Definition at line 31 of file ksslsigners.cpp.
KSSLSigners::~KSSLSigners | ( | ) |
Destroy this KSSLSigner object.
Definition at line 35 of file ksslsigners.cpp.
Member Function Documentation
bool KSSLSigners::addCA | ( | KSSLCertificate & | cert, |
bool | ssl, | ||
bool | email, | ||
bool | code | ||
) | const |
Add a signer to the database.
- Parameters
-
cert the signer's certificate ssl allow it to sign for SSL email allow it to sign for S/MIME code allow it to sign for code signing
- Returns
- true on success
Definition at line 38 of file ksslsigners.cpp.
Add a signer to the database.
- Parameters
-
cert the signer's certificate in base64 form ssl allow it to sign for SSL email allow it to sign for S/MIME code allow it to sign for code signing
- Returns
- true on success
Definition at line 46 of file ksslsigners.cpp.
Get a signer certificate from the database.
- Parameters
-
subject the subject of the certificate desired
- Returns
- the base64 encoded certificate
Definition at line 111 of file ksslsigners.cpp.
QStringList KSSLSigners::list | ( | ) |
List the signers in the database.
- Returns
- the list of subjects in the database
- See also
- getCert
Definition at line 105 of file ksslsigners.cpp.
bool KSSLSigners::regenerate | ( | ) |
Regenerate the signer-root file from the user's settings.
- Returns
- true on success
Definition at line 55 of file ksslsigners.cpp.
bool KSSLSigners::remove | ( | KSSLCertificate & | cert | ) |
Remove a certificate signer from the database.
- Parameters
-
cert the certificate to remove
- Returns
- true on success
Definition at line 94 of file ksslsigners.cpp.
Remove a certificate signer from the database.
- Parameters
-
subject the subject of the certificate to remove
- Returns
- true on success
Definition at line 99 of file ksslsigners.cpp.
Set the use of a particular entry in the certificate signer database.
- Parameters
-
subject the subject of the certificate in question ssl allow this for SSL certificate signing email allow this for S/MIME certificate signing code allow this for code certificate signing
- Returns
- true on success
Definition at line 117 of file ksslsigners.cpp.
bool KSSLSigners::useForCode | ( | KSSLCertificate & | cert | ) | const |
Determine if a certificate can be used for code certificate signing.
- Parameters
-
cert the certificate
- Returns
- true if it can be used for code
Definition at line 83 of file ksslsigners.cpp.
Determine if a certificate can be used for code certificate signing.
- Parameters
-
subject the certificate subject
- Returns
- true if it can be used for code
Definition at line 88 of file ksslsigners.cpp.
bool KSSLSigners::useForEmail | ( | KSSLCertificate & | cert | ) | const |
Determine if a certificate can be used for S/MIME certificate signing.
- Parameters
-
cert the certificate
- Returns
- true if it can be used for S/MIME
Definition at line 72 of file ksslsigners.cpp.
Determine if a certificate can be used for S/MIME certificate signing.
- Parameters
-
subject the certificate subject
- Returns
- true if it can be used for S/MIME
Definition at line 77 of file ksslsigners.cpp.
bool KSSLSigners::useForSSL | ( | KSSLCertificate & | cert | ) | const |
Determine if a certificate can be used for SSL certificate signing.
- Parameters
-
cert the certificate
- Returns
- true if it can be used for SSL
Definition at line 61 of file ksslsigners.cpp.
Determine if a certificate can be used for SSL certificate signing.
- Parameters
-
subject the certificate subject
- Returns
- true if it can be used for SSL
Definition at line 66 of file ksslsigners.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.