QCA::SMSContext
#include <QtCrypto>

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) |
Additional Inherited Members | |
![]() | |
BasicContext (const BasicContext &from) | |
BasicContext (Provider *parent, const QString &type) | |
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
◆ SMSContext()
Standard constructor.
- Parameters
-
p the provider associated with this context type the name of the type of secure message system
Definition at line 3111 of file qcaprovider.h.
Member Function Documentation
◆ createMessage()
|
pure virtual |
Create a new message object for this system.
The caller is responsible for deleting it.
◆ setPrivateKeys()
|
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
◆ setTrustedCertificates()
|
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.
◆ setUntrustedCertificates()
|
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.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 03:50:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.