aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/openintents/openpgp/util
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-08-31 23:39:56 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-08-31 23:39:56 +0200
commite0be0f648ade84a83c7561c0521853447ca8b3da (patch)
tree3f10d083759b8064f33862caaa16e9e6228b8f31 /src/org/openintents/openpgp/util
parent1d0eeef047c4938f4e25bc06f7e92e83aa46a4c4 (diff)
Add SIGNATURE_KEY_REVOKED, SIGNATURE_KEY_EXPIRED, rename SIGNATURE_PUB_KEY_UNKNOWN
Diffstat (limited to 'src/org/openintents/openpgp/util')
-rw-r--r--src/org/openintents/openpgp/util/OpenPgpApi.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/openintents/openpgp/util/OpenPgpApi.java b/src/org/openintents/openpgp/util/OpenPgpApi.java
index 485d3710..a248a0e2 100644
--- a/src/org/openintents/openpgp/util/OpenPgpApi.java
+++ b/src/org/openintents/openpgp/util/OpenPgpApi.java
@@ -47,8 +47,10 @@ public class OpenPgpApi {
* - No changes to existing methods -> backward compatible
* - Introduction of ACTION_DECRYPT_METADATA, RESULT_METADATA, EXTRA_ORIGINAL_FILENAME, and OpenPgpMetadata parcel
* - Introduction of internal NFC extras: EXTRA_NFC_SIGNED_HASH, EXTRA_NFC_SIG_CREATION_TIMESTAMP
+ * 5:
+ * - OpenPgpSignatureResult: new SIGNATURE_KEY_REVOKED and SIGNATURE_KEY_EXPIRED
*/
- public static final int API_VERSION = 4;
+ public static final int API_VERSION = 5;
/**
* General extras
@@ -106,7 +108,7 @@ public class OpenPgpApi {
* Decrypts and verifies given input stream. This methods handles encrypted-only, signed-and-encrypted,
* and also signed-only input.
* <p/>
- * If OpenPgpSignatureResult.getStatus() == OpenPgpSignatureResult.SIGNATURE_UNKNOWN_PUB_KEY
+ * If OpenPgpSignatureResult.getStatus() == OpenPgpSignatureResult.SIGNATURE_KEY_MISSING
* in addition a PendingIntent is returned via RESULT_INTENT to download missing keys.
* <p/>
* optional extras: