#include <QtCrypto>
Inheritance diagram for QCA::CMS:
Public Member Functions | |
CMS (QObject *parent=0, const QString &provider=QString()) | |
CertificateCollection | trustedCertificates () const |
CertificateCollection | untrustedCertificates () const |
SecureMessageKeyList | privateKeys () const |
void | setTrustedCertificates (const CertificateCollection &trusted) |
void | setUntrustedCertificates (const CertificateCollection &untrusted) |
void | setPrivateKeys (const SecureMessageKeyList &keys) |
Cryptographic Message Syntax (CMS) "is used to digitally sign, digest, authenticate, or encrypt arbitrary message content. The CMS describes an encapsulation syntax for data protection. It supports digital signatures and encryption. The syntax allows multiple encapsulations; one encapsulation envelope can be nested inside another. Likewise, one party can digitally sign some previously encapsulated data. It also allows arbitrary attributes, such as signing time, to be signed along with the message content, and provides for other attributes such as countersignatures to be associated with a signature." (from RFC3852 "Cryptographic Message Syntax")
|
Standard constructor.
|
|
Return the trusted certificates set for this object.
|
|
Return the untrusted certificates set for this object.
|
|
Return the private keys set for this object.
|
|
Set the trusted certificates to use for the messages built using this CMS object.
|
|
Set the untrusted certificates to use for the messages built using this CMS object. This function is useful when verifying messages that don't contain the certificates (or intermediate signers) within the CMS blob. In order to verify such messages, you'll have to pass the possible signer certs with this function.
|
|
Set the private keys to use for the messages built using this CMS object. Keys are required for decrypting and signing (not for encrypting or verifying).
|