KIO
ksmimecrypto.cpp
Go to the documentation of this file.
Definition: ksmimecrypto.h:40
Definition: ksmimecrypto.h:46
bool hasLibCrypto() const
Return true of libcrypto was found and loaded.
Definition: kopenssl.cpp:229
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
Definition: ksmimecrypto.h:47
Definition: ksmimecrypto.h:50
rc decryptMessage(const QByteArray &cipherText, QByteArray &clearText, const KSSLPKCS12 &privKey)
Decrypt a message.
Definition: ksmimecrypto.cpp:400
Definition: ksmimecrypto.h:44
Definition: ksmimecrypto.h:37
Definition: ksmimecrypto.h:48
static KSSLCertificate * fromX509(X509 *x5)
Create an X.509 certificate from the internal representation.
Definition: ksslcertificate.cpp:133
rc signMessage(const QByteArray &clearText, QByteArray &cipherText, const KSSLPKCS12 &privKey, const QList< KSSLCertificate * > &certs, bool detached)
Sign a message.
Definition: ksmimecrypto.cpp:304
Definition: ksmimecrypto.h:38
Definition: ksmimecrypto.h:45
Definition: ksmimecrypto.h:41
Definition: ksmimecrypto.h:39
rc checkDetachedSignature(const QByteArray &clearText, const QByteArray &signature, QList< KSSLCertificate * > &foundCerts)
Check a detached message signature Will check if messages matches signature and extract certificates ...
Definition: ksmimecrypto.cpp:331
rc encryptMessage(const QByteArray &clearText, QByteArray &cipherText, algo algorithm, const QList< KSSLCertificate * > &recip)
Encrypt a message encrypts a message for the given list of recipients and the selected algorithm...
Definition: ksmimecrypto.cpp:375
Definition: ksmimecrypto.h:43
rc checkOpaqueSignature(const QByteArray &signedText, QByteArray &clearText, QList< KSSLCertificate * > &foundCerts)
Check an opaque signed message Will check if signature matches and extract message Does not check cer...
Definition: ksmimecrypto.cpp:351
static KOpenSSLProxy * self()
Return an instance of class KOpenSSLProxy * You cannot delete this object.
Definition: kopenssl.cpp:678
Definition: ksmimecrypto.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.