• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KSSLSigners Class Reference

KDE SSL Signer Database. More...

#include <ksslsigners.h>

List of all members.

Public Member Functions

bool addCA (const QString &cert, bool ssl, bool email, bool code) const
bool addCA (KSSLCertificate &cert, bool ssl, bool email, bool code) const
QString getCert (const QString &subject)
 KSSLSigners ()
QStringList list ()
bool regenerate ()
bool remove (const QString &subject)
bool remove (KSSLCertificate &cert)
bool setUse (const QString &subject, bool ssl, bool email, bool code)
bool useForCode (const QString &subject) const
bool useForCode (KSSLCertificate &cert) const
bool useForEmail (const QString &subject) const
bool useForEmail (KSSLCertificate &cert) const
bool useForSSL (const QString &subject) const
bool useForSSL (KSSLCertificate &cert) const
 ~KSSLSigners ()

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.

Author:
George Staikos <staikos@kde.org>
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 ( const QString &  cert,
bool  ssl,
bool  email,
bool  code 
) const

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.

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.

QString KSSLSigners::getCert ( const QString &  subject  ) 

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 ( const QString &  subject  ) 

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.

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.

bool KSSLSigners::setUse ( const QString &  subject,
bool  ssl,
bool  email,
bool  code 
)

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 ( const QString &  subject  )  const

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::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.

bool KSSLSigners::useForEmail ( const QString &  subject  )  const

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::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.

bool KSSLSigners::useForSSL ( const QString &  subject  )  const

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.

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.


The documentation for this class was generated from the following files:
  • ksslsigners.h
  • ksslsigners.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal