aboutsummaryrefslogtreecommitdiffstats
path: root/openpgp-api
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2016-03-02 15:20:47 +0100
committerVincent Breitmoser <valodim@mugenguild.com>2016-03-02 15:20:47 +0100
commit3b6681ecf669c4662d4a7cf4d276840e8bd40e7d (patch)
treee81000718db4de3e44e853685edbf025b60e8b5d /openpgp-api
parente177b56ab36056f6e79fc0ae4dc4875c9a2941f6 (diff)
downloadopenpgp-api-3b6681ecf669c4662d4a7cf4d276840e8bd40e7d.tar.gz
openpgp-api-3b6681ecf669c4662d4a7cf4d276840e8bd40e7d.tar.bz2
openpgp-api-3b6681ecf669c4662d4a7cf4d276840e8bd40e7d.zip
Bump version to 11, add changelog, and document changes
Diffstat (limited to 'openpgp-api')
-rw-r--r--openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java11
1 files changed, 9 insertions, 2 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 f0291a9..658823a 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
@@ -41,7 +41,7 @@ public class OpenPgpApi {
/**
* see CHANGELOG.md
*/
- public static final int API_VERSION = 10;
+ public static final int API_VERSION = 11;
/**
* General extras
@@ -56,7 +56,13 @@ public class OpenPgpApi {
* PendingIntent RESULT_INTENT (if RESULT_CODE == RESULT_CODE_USER_INTERACTION_REQUIRED)
*/
- // TODO document
+ /**
+ * This action performs no operation, but can be used to check if the App has permission
+ * to access the API in general, returning a user interaction PendingIntent otherwise.
+ * This can be used to trigger the permission dialog explicitly.
+ *
+ * This action uses no extras.
+ */
public static final String ACTION_CHECK_PERMISSION = "org.openintents.openpgp.action.CHECK_PERMISSION";
/**
@@ -98,6 +104,7 @@ public class OpenPgpApi {
* <p/>
* returned extras:
* byte[] RESULT_DETACHED_SIGNATURE
+ * String RESULT_SIGNATURE_MICALG (contains the name of the used signature algorithm as a string)
*/
public static final String ACTION_DETACHED_SIGN = "org.openintents.openpgp.action.DETACHED_SIGN";