• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

KIO

Public Member Functions
KSSLSigners Class Reference

#include <ksslsigners.h>

List of all members.

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.

Author:
George Staikos staik.nosp@m.os@k.nosp@m.de.or.nosp@m.g
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:
certthe signer's certificate
sslallow it to sign for SSL
emailallow it to sign for S/MIME
codeallow it to sign for code signing
Returns:
true on success

Definition at line 38 of file ksslsigners.cpp.

bool KSSLSigners::addCA ( const QString &  cert,
bool  ssl,
bool  email,
bool  code 
) const

Add a signer to the database.

Parameters:
certthe signer's certificate in base64 form
sslallow it to sign for SSL
emailallow it to sign for S/MIME
codeallow it to sign for code signing
Returns:
true on success

Definition at line 46 of file ksslsigners.cpp.

QString KSSLSigners::getCert ( const QString &  subject)

Get a signer certificate from the database.

Parameters:
subjectthe 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:
certthe certificate to remove
Returns:
true on success

Definition at line 94 of file ksslsigners.cpp.

bool KSSLSigners::remove ( const QString &  subject)

Remove a certificate signer from the database.

Parameters:
subjectthe subject of the certificate to remove
Returns:
true on success

Definition at line 99 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:
subjectthe subject of the certificate in question
sslallow this for SSL certificate signing
emailallow this for S/MIME certificate signing
codeallow 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:
certthe certificate
Returns:
true if it can be used for code

Definition at line 83 of file ksslsigners.cpp.

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

Determine if a certificate can be used for code certificate signing.

Parameters:
subjectthe 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:
certthe certificate
Returns:
true if it can be used for S/MIME

Definition at line 72 of file ksslsigners.cpp.

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

Determine if a certificate can be used for S/MIME certificate signing.

Parameters:
subjectthe 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:
certthe certificate
Returns:
true if it can be used for SSL

Definition at line 61 of file ksslsigners.cpp.

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

Determine if a certificate can be used for SSL certificate signing.

Parameters:
subjectthe 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:
  • ksslsigners.h
  • ksslsigners.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 22:01:04 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal