Make asciiArmor a parameter, extend advanced app settings
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user