aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar/android/apg/IApgService.aidl
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@gmail.com>2011-01-20 20:00:28 +0000
committerMarkus Doits <markus.doits@gmail.com>2011-01-20 20:00:28 +0000
commitc9f6f56827ce7b368a009c153d1f9995651f6522 (patch)
tree7d2c275f599c29e3acd9901ee6c0a01faf6d4980 /src/org/thialfihar/android/apg/IApgService.aidl
parent392969629c9fb4953a0a257e866d8538515faa50 (diff)
downloadopen-keychain-c9f6f56827ce7b368a009c153d1f9995651f6522.tar.gz
open-keychain-c9f6f56827ce7b368a009c153d1f9995651f6522.tar.bz2
open-keychain-c9f6f56827ce7b368a009c153d1f9995651f6522.zip
Work on errors and documentation - once more
Diffstat (limited to 'src/org/thialfihar/android/apg/IApgService.aidl')
-rw-r--r--src/org/thialfihar/android/apg/IApgService.aidl9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/org/thialfihar/android/apg/IApgService.aidl b/src/org/thialfihar/android/apg/IApgService.aidl
index 896314635..c35e82df7 100644
--- a/src/org/thialfihar/android/apg/IApgService.aidl
+++ b/src/org/thialfihar/android/apg/IApgService.aidl
@@ -5,8 +5,13 @@ interface IApgService {
/* All functions fill the return_vals Bundle with the following keys:
*
* ArrayList<String> "WARNINGS" = Warnings, if any
- * ArrayList<String> "ERRORS" = Human readable error descriptions, why function call failed
- * int "ERROR" = Numeric representation of error
+ * ArrayList<String> "ERRORS" = Human readable error descriptions, if any
+ * int "ERROR" = Numeric representation of error, if any, starting with 100
+ * 100: Required argument missing
+ * 101: Generic failure of APG
+ * 102: No matching private key found
+ * 103: Private key's passphrase wrong
+ * 104: Private key's passphrase missing
*/
/* Encryption function's arguments