aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar/android/apg/IApgService.aidl
diff options
context:
space:
mode:
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