aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-11-08 20:00:29 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-11-08 20:02:12 +0100
commit04b9c31dc7800307184c1561d0a3f86bfb56e11a (patch)
treed27a3b2719f286dcf5ccc07c1953f6a62fa6794d
parentbc08872cc1a860c13f7e891d817336264f82b22c (diff)
downloadopenpgp-api-04b9c31dc7800307184c1561d0a3f86bfb56e11a.tar.gz
openpgp-api-04b9c31dc7800307184c1561d0a3f86bfb56e11a.tar.bz2
openpgp-api-04b9c31dc7800307184c1561d0a3f86bfb56e11a.zip
Get whole public key via ACTION_GET_KEY
-rw-r--r--openpgp-api/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java5
1 files changed, 5 insertions, 0 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 d2d6db8..6905da0 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
@@ -192,8 +192,13 @@ public class OpenPgpApi {
* It returns RESULT_CODE_USER_INTERACTION_REQUIRED if the Provider does not have the key.
* The PendingIntent from RESULT_INTENT can be used to retrieve those from a keyserver.
* <p/>
+ * If an Output stream has been defined the whole public key is returned.
* required extras:
* long EXTRA_KEY_ID
+ * <p/>
+ * optional extras:
+ * String EXTRA_REQUEST_ASCII_ARMOR (request that the returned key is encoded in ASCII Armor)
+ *
*/
public static final String ACTION_GET_KEY = "org.openintents.openpgp.action.GET_KEY";