From 5dc693c64c14000a3a03903736d000a45795bcee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Mon, 9 Sep 2013 12:59:53 +0200 Subject: Make asciiArmor a parameter, extend advanced app settings --- .../src/org/openintents/crypto/ICryptoService.aidl | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'OpenPGP-Keychain-API-Demo/src/org/openintents/crypto/ICryptoService.aidl') diff --git a/OpenPGP-Keychain-API-Demo/src/org/openintents/crypto/ICryptoService.aidl b/OpenPGP-Keychain-API-Demo/src/org/openintents/crypto/ICryptoService.aidl index b74ab642c..45a80dfd3 100644 --- a/OpenPGP-Keychain-API-Demo/src/org/openintents/crypto/ICryptoService.aidl +++ b/OpenPGP-Keychain-API-Demo/src/org/openintents/crypto/ICryptoService.aidl @@ -34,7 +34,7 @@ interface ICryptoService { * @param callback * Callback where to return results */ - oneway void encrypt(in byte[] inputBytes, in String[] encryptionUserIds, in ICryptoCallback callback); + oneway void encrypt(in byte[] inputBytes, in String[] encryptionUserIds, in boolean asciiArmor, in ICryptoCallback callback); /** * Sign @@ -44,7 +44,7 @@ interface ICryptoService { * @param callback * Callback where to return results */ - oneway void sign(in byte[] inputBytes, in ICryptoCallback callback); + oneway void sign(in byte[] inputBytes, in boolean asciiArmor, in ICryptoCallback callback); /** * Encrypt and sign @@ -58,7 +58,7 @@ interface ICryptoService { * @param callback * Callback where to return results */ - oneway void encryptAndSign(in byte[] inputBytes, in String[] encryptionUserIds, in ICryptoCallback callback); + oneway void encryptAndSign(in byte[] inputBytes, in String[] encryptionUserIds, in boolean asciiArmor, in ICryptoCallback callback); /** * Decrypts and verifies given input bytes. If no signature is present this method @@ -71,10 +71,4 @@ interface ICryptoService { */ oneway void decryptAndVerify(in byte[] inputBytes, in ICryptoCallback callback); - /** - * Opens setup using default parameters - * - */ - oneway void setup(boolean asciiArmor, boolean newKeyring, String newKeyringUserId); - } \ No newline at end of file -- cgit v1.2.3