• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

QCA::SMSContext

QCA::SMSContext Class Reference
[QCA provider API]

SecureMessageSystem provider. More...

#include <QtCrypto>

Inheritance diagram for QCA::SMSContext:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SMSContext (Provider *p, const QString &type)
virtual MessageContext * createMessage ()=0
virtual void setPrivateKeys (const QList< SecureMessageKey > &keys)
virtual void setTrustedCertificates (const CertificateCollection &trusted)
virtual void setUntrustedCertificates (const CertificateCollection &untrusted)

Detailed Description

SecureMessageSystem provider.

Note:
This class is part of the provider plugin interface and should not be used directly by applications. You probably want SecureMessageSystem instead.

Definition at line 2933 of file qcaprovider.h.


Constructor & Destructor Documentation

QCA::SMSContext::SMSContext ( Provider *  p,
const QString &  type 
) [inline]

Standard constructor.

Parameters:
p the provider associated with this context
type the name of the type of secure message system

Definition at line 2943 of file qcaprovider.h.


Member Function Documentation

virtual MessageContext* QCA::SMSContext::createMessage (  )  [pure virtual]

Create a new message object for this system.

The caller is responsible for deleting it.

void QCA::SMSContext::setPrivateKeys ( const QList< SecureMessageKey > &  keys  )  [virtual]

Set the private keys for this secure message system, to be used for decryption.

This function is only valid for CMS.

Parameters:
keys the keys to be used for decryption

Definition at line 1158 of file qca_core.cpp.

void QCA::SMSContext::setTrustedCertificates ( const CertificateCollection &  trusted  )  [virtual]

Set the trusted certificates and for this secure message system, to be used for validation.

The collection may also contain CRLs.

This function is only valid for CMS.

Parameters:
trusted a set of trusted certificates and CRLs.

Definition at line 1150 of file qca_core.cpp.

void QCA::SMSContext::setUntrustedCertificates ( const CertificateCollection &  untrusted  )  [virtual]

Set the untrusted certificates and CRLs for this secure message system, to be used for validation.

This function is only valid for CMS.

Parameters:
untrusted a set of untrusted certificates and CRLs.

Definition at line 1154 of file qca_core.cpp.


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

qca

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

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
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