aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar/android/apg
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@gmail.com>2011-01-09 20:12:03 +0000
committerMarkus Doits <markus.doits@gmail.com>2011-01-09 20:12:03 +0000
commit3f0c80882e39881d6c93596ce498e50144836eae (patch)
tree9c2bf8f33296ea6b272eb61baa8024dc3d88adaf /src/org/thialfihar/android/apg
parentdef11ad18f0394adaf61c0cf53647f5583e5b8b6 (diff)
downloadopen-keychain-3f0c80882e39881d6c93596ce498e50144836eae.tar.gz
open-keychain-3f0c80882e39881d6c93596ce498e50144836eae.tar.bz2
open-keychain-3f0c80882e39881d6c93596ce498e50144836eae.zip
Explain AIDL options a little bit more in detail
Diffstat (limited to 'src/org/thialfihar/android/apg')
-rw-r--r--src/org/thialfihar/android/apg/IApgService.aidl12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/org/thialfihar/android/apg/IApgService.aidl b/src/org/thialfihar/android/apg/IApgService.aidl
index 2c7ffb875..2bd3f8dcf 100644
--- a/src/org/thialfihar/android/apg/IApgService.aidl
+++ b/src/org/thialfihar/android/apg/IApgService.aidl
@@ -11,16 +11,24 @@ interface IApgService {
/** Encrypt something with a symmetric key
*
- * Bundle params:
- * (optional/required) TYPE "STRING KEY" = EXPLANATION
+ * Bundle params' keys:
+ * (optional/required) TYPE "STRING KEY" = EXPLANATION / VALUES
*
* (required) String "MSG" = Message to encrypt
* (required) String "SYM_KEY" = Symmetric key to use
* (optional) int "ENCRYPTION_ALGO" = Encryption Algorithm
+ * 7: AES-128, 8: AES-192, 9: AES-256,
+ 4: Blowfish, 10: Twofish, 3: CAST5,
+ 6: DES, 2: Triple DES, 1: IDEA
* (optional) int "HASH_ALGO" = Hash Algorithm
+ 1: MD5, 3: RIPEMD-160, 2: SHA-1,
+ 11: SHA-224, 8: SHA-256, 9: SHA-384,
+ 10: SHA-512
* (optional) Boolean "ARMORED" = Armor output
* (optional) Boolean "FORCE_V3_SIG" = Force V3 Signatures
* (optional) int "COMPRESSION" = Compression to use
+ 0x21070001: none, 1: Zip, 2: Zlib,
+ 3: BZip2
*
* Bundle return_vals (in addition to the ERRORS/WARNINGS above):
* String "RESULT" = Encrypted MSG