aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2016-05-11 16:14:43 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2016-05-11 16:15:01 +0200
commite61c349b9ed0dc911cc3ced1ba3ba24a4a9df5e3 (patch)
treed66115f30ced1549943f3fa584185ce74b9a4e03
parentb4625028d782142dada42c17a03318bcdaf920d7 (diff)
downloadopenpgp-api-e61c349b9ed0dc911cc3ced1ba3ba24a4a9df5e3.zip
openpgp-api-e61c349b9ed0dc911cc3ced1ba3ba24a4a9df5e3.tar.gz
openpgp-api-e61c349b9ed0dc911cc3ced1ba3ba24a4a9df5e3.tar.bz2
add PROGRESS_MESSENGER and DATA_LENGTH extras for decrypt_verify
-rw-r--r--openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java b/openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java
index 87a1605..354e766 100644
--- a/openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java
+++ b/openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java
@@ -16,6 +16,12 @@
package org.openintents.openpgp.util;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.util.concurrent.atomic.AtomicInteger;
+
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
@@ -27,11 +33,6 @@ import android.util.Log;
import org.openintents.openpgp.IOpenPgpService2;
import org.openintents.openpgp.OpenPgpError;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.concurrent.atomic.AtomicInteger;
-
public class OpenPgpApi {
public static final String TAG = "OpenPgp API";
@@ -267,6 +268,8 @@ public class OpenPgpApi {
// DECRYPT_VERIFY
public static final String EXTRA_DETACHED_SIGNATURE = "detached_signature";
+ public static final String EXTRA_PROGRESS_MESSENGER = "progress_messenger";
+ public static final String EXTRA_DATA_LENGTH = "data_length";
public static final String EXTRA_DECRYPTION_RESULT_WRAPPER = "decryption_result_wrapper";
public static final String EXTRA_DECRYPTION_RESULT = "decryption_result";
public static final String RESULT_SIGNATURE = "signature";