From acabfd9986f68f75b41462ad53cf4b7970d03392 Mon Sep 17 00:00:00 2001 From: Justin Karneges <justin@affinix.com> Date: Sat, 30 Jul 2005 09:11:59 +0000 Subject: [PATCH] more error possibilities svn path=/trunk/kdesupport/qca/; revision=440366 --- include/QtCrypto/qca_securemessage.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/include/QtCrypto/qca_securemessage.h b/include/QtCrypto/qca_securemessage.h index 770ad260..c223f5af 100644 --- a/include/QtCrypto/qca_securemessage.h +++ b/include/QtCrypto/qca_securemessage.h @@ -255,13 +255,15 @@ namespace QCA */ enum Error { - ErrorPassphrase, ///< passphrase was either wrong or not provided - ErrorFormat, ///< input format was bad - ErrorSignerExpired, ///< signing key is expired - ErrorSignerInvalid, ///< signing key is invalid in some way - ErrorEncryptExpired, ///< encrypting key is expired - ErrorEncryptInvalid, ///< encrypting key is invalid in some way - ErrorUnknown ///< other error + ErrorPassphrase, ///< passphrase was either wrong or not provided + ErrorFormat, ///< input format was bad + ErrorSignerExpired, ///< signing key is expired + ErrorSignerInvalid, ///< signing key is invalid in some way + ErrorEncryptExpired, ///< encrypting key is expired + ErrorEncryptUntrusted, ///< encrypting key is untrusted + ErrorEncryptInvalid, ///< encrypting key is invalid in some way + ErrorNeedCard, ///< pgp card is missing + ErrorUnknown ///< other error }; SecureMessage(SecureMessageSystem *system);