From 04b9c31dc7800307184c1561d0a3f86bfb56e11a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sun, 8 Nov 2015 20:00:29 +0100 Subject: Get whole public key via ACTION_GET_KEY --- .../src/main/java/org/openintents/openpgp/util/OpenPgpApi.java | 5 +++++ 1 file changed, 5 insertions(+) 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. *

+ * If an Output stream has been defined the whole public key is returned. * required extras: * long EXTRA_KEY_ID + *

+ * 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"; -- cgit v1.2.3