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);