CryptPlugWrapper Class Reference
This class provides C++ access to the CRYPTPLUG API. More...
#include <cryptplugwrapper.h>
Collaboration diagram for CryptPlugWrapper:

Public Types | |
| typedef unsigned long | SigStatusFlags |
| typedef QValueList< CryptPlugWrapper::CertificateInfo > | CertificateInfoList |
| enum | InitStatus { InitStatus_undef = 0, InitStatus_Ok = 1, InitStatus_NoLibName = 2, InitStatus_LoadError = 0x1000, InitStatus_InitError = 0x2000 } |
| enum | { SigStatus_UNKNOWN = 0x0000, SigStatus_VALID = SigStat_VALID, SigStatus_GREEN = SigStat_GREEN, SigStatus_RED = SigStat_RED, SigStatus_KEY_REVOKED = SigStat_KEY_REVOKED, SigStatus_KEY_EXPIRED = SigStat_KEY_EXPIRED, SigStatus_SIG_EXPIRED = SigStat_SIG_EXPIRED, SigStatus_KEY_MISSING = SigStat_KEY_MISSING, SigStatus_CRL_MISSING = SigStat_CRL_MISSING, SigStatus_CRL_TOO_OLD = SigStat_CRL_TOO_OLD, SigStatus_BAD_POLICY = SigStat_BAD_POLICY, SigStatus_SYS_ERROR = SigStat_SYS_ERROR, SigStatus_NUMERICAL_CODE = 0x8000 } |
| enum | { CertStatus_EXPIRES_NEVER = CRYPTPLUG_CERT_DOES_NEVER_EXPIRE } |
Public Member Functions | |
| CryptPlugWrapper (const QString &name=QString::null, const QString &libName=QString::null, const QString &update=QString::null, bool active=false) | |
| ~CryptPlugWrapper () | |
| QString | protocol () const |
| QString | name () const |
| void | setActive (bool active) |
| bool | active () const |
| bool | setLibName (const QString &libName) |
| QString | libName () const |
| void | setDisplayName (const QString &name) |
| QString | displayName () const |
| QString | libVersion () const |
| QString | updateURL () const |
| void | setUpdateURL (const QString &url) |
| void | deinitialize () |
| InitStatus | initStatus (QString *errorMsg) const |
| bool | hasFeature (Feature) |
| const char * | bugURL () |
| void | setSignatureAlgorithm (SignatureAlgorithm) |
| SignatureAlgorithm | signatureAlgorithm () |
| void | setWarnSendUnsigned (bool) |
| bool | warnSendUnsigned () |
| void | setSignatureCertificateExpiryNearWarning (bool) |
| bool | signatureCertificateExpiryNearWarning (void) |
| void | setSignatureCertificateExpiryNearInterval (int) |
| int | signatureCertificateExpiryNearInterval (void) |
| void | setCACertificateExpiryNearWarning (bool) |
| bool | caCertificateExpiryNearWarning (void) |
| void | setCACertificateExpiryNearInterval (int) |
| int | caCertificateExpiryNearInterval (void) |
| void | setRootCertificateExpiryNearWarning (bool) |
| bool | rootCertificateExpiryNearWarning (void) |
| void | setRootCertificateExpiryNearInterval (int) |
| int | rootCertificateExpiryNearInterval (void) |
| void | setEncryptionAlgorithm (EncryptionAlgorithm) |
| EncryptionAlgorithm | encryptionAlgorithm () |
| void | setEncryptEmail (EncryptEmail) |
| EncryptEmail | encryptEmail () |
| void | setWarnSendUnencrypted (bool) |
| bool | warnSendUnencrypted () |
| void | setAlwaysEncryptToSelf (bool) KDE_DEPRECATED |
| bool | alwaysEncryptToSelf () KDE_DEPRECATED |
| void | setSaveMessagesEncrypted (bool) |
| bool | saveMessagesEncrypted () |
| void | setCheckCertificatePath (bool) |
| bool | checkCertificatePath () |
| void | setReceiverCertificateExpiryNearWarning (bool) |
| bool | receiverCertificateExpiryNearWarning () |
| void | setReceiverCertificateExpiryNearWarningInterval (int) |
| int | receiverCertificateExpiryNearWarningInterval () |
| void | setCertificateInChainExpiryNearWarning (bool) |
| bool | certificateInChainExpiryNearWarning () |
| void | setCertificateInChainExpiryNearWarningInterval (int) |
| int | certificateInChainExpiryNearWarningInterval () |
| void | setReceiverEmailAddressNotInCertificateWarning (bool) |
| bool | receiverEmailAddressNotInCertificateWarning () |
| void | setEncryptionUseCRLs (bool) |
| bool | encryptionUseCRLs () |
| void | setEncryptionCRLExpiryNearWarning (bool) |
| bool | encryptionCRLExpiryNearWarning () |
| void | setEncryptionCRLNearExpiryInterval (int) |
| int | encryptionCRLNearExpiryInterval () |
| void | setCertificateSource (CertificateSource) |
| CertificateSource | certificateSource () |
| bool | signMessage (const char *cleartext, char **ciphertext, const size_t *cipherLen, const char *certificate, StructuringInfoWrapper &structuring, int *errId, char **errTxt) |
| void | freeSignatureMetaData (CryptPlug::SignatureMetaData *) |
| bool | checkMessageSignature (char **cleartext, const char *signaturetext, bool signatureIsBinary, int signatureLen, CryptPlug::SignatureMetaData *sigmeta) |
| bool | storeCertificatesFromMessage (const char *ciphertext) |
| bool | findCertificates (const char *addressee, char **certificates, int *newSize, bool secretOnly) |
| bool | encryptMessage (const char *cleartext, const char **ciphertext, const size_t *cipherLen, const char *addressee, StructuringInfoWrapper &structuring, int *errId, char **errTxt) |
| bool | encryptAndSignMessage (const char *cleartext, const char **ciphertext, const char *certificate, StructuringInfoWrapper &structuring) |
| bool | decryptMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, char **cleartext, const char *certificate, int *errId, char **errTxt) |
| bool | decryptAndCheckMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, char **cleartext, const char *certificate, bool *signatureFound, CryptPlug::SignatureMetaData *sigmeta, int *errId, char **errTxt) |
| CertificateInfoList | listKeys (const QString &pattern=QString::null, bool remote=false, bool *truncated=0) |
| Kleo::KeyListJob * | keyListJob (bool remote=false, bool includeSigs=false, bool validate=true) const |
| Kleo::EncryptJob * | encryptJob (bool armor=false, bool textmode=false) const |
| Kleo::DecryptJob * | decryptJob () const |
| Kleo::SignJob * | signJob (bool armor=false, bool textMode=false) const |
| Kleo::VerifyDetachedJob * | verifyDetachedJob (bool textmode=false) const |
| Kleo::VerifyOpaqueJob * | verifyOpaqueJob (bool textmode=false) const |
| Kleo::KeyGenerationJob * | keyGenerationJob () const |
| Kleo::ImportJob * | importJob () const |
| Kleo::ExportJob * | publicKeyExportJob (bool armor=false) const |
| Kleo::ExportJob * | secretKeyExportJob (bool armor=false) const |
| Kleo::DownloadJob * | downloadJob (bool armor=false) const |
| Kleo::DeleteJob * | deleteJob () const |
| Kleo::SignEncryptJob * | signEncryptJob (bool armor=false, bool textmode=false) const |
| Kleo::DecryptVerifyJob * | decryptVerifyJob (bool textmode=false) const |
| Kleo::RefreshKeysJob * | refreshKeysJob () const |
| GpgME::ImportResult | importCertificate (const char *data, size_t length) |
| CryptPlug * | cryptPlug () const |
Static Public Member Functions | |
| static QString | errorIdToText (int errId, bool &isPassphraseError) |
Detailed Description
This class provides C++ access to the CRYPTPLUG API.
Definition at line 453 of file cryptplugwrapper.h.
The documentation for this class was generated from the following files:
