QCA::SMSContext Class Reference
[QCA provider API]

SecureMessageSystem provider. More...

#include <QtCrypto>

Inheritance diagram for QCA::SMSContext:

QCA::BasicContext QCA::Provider::Context Collaboration diagram for QCA::SMSContext:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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.


Constructor & Destructor Documentation

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

Standard constructor.


Member Function Documentation

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

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

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

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

Create a new message object for this system.

The caller is responsible for deleting it.


The documentation for this class was generated from the following file:
Generated on Tue Aug 28 08:23:14 2007 for Qt Cryptographic Architecture by  doxygen 1.5.2