QCA::SMSContext

Search for usage in LXR

QCA::SMSContext Class Referenceabstract

#include <QtCrypto>

Inheritance diagram for QCA::SMSContext:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from QCA::BasicContext
 BasicContext (Provider *parent, const QString &type)
 
 BasicContext (const BasicContext &from)
 

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 3101 of file qcaprovider.h.

Constructor & Destructor Documentation

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

Standard constructor.

Parameters
pthe provider associated with this context
typethe name of the type of secure message system

Definition at line 3111 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.

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.

Parameters
keysthe keys to be used for decryption
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.

Parameters
trusteda set of trusted certificates and CRLs.
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.

Parameters
untrusteda set of untrusted certificates and CRLs.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Apr 22 2021 23:04:22 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.