aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-03-20 13:36:43 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-03-20 13:36:43 +0100
commit34ccf4df41a30cb586f06eb3b9bc90efc8dd7a2c (patch)
treedc23fd7cd079ecec47ee22e372fd95b08c5d25a4
parentd10df1d40f23475445d0abca217683e911ffa0a0 (diff)
downloadopenpgp-api-34ccf4df41a30cb586f06eb3b9bc90efc8dd7a2c.tar.gz
openpgp-api-34ccf4df41a30cb586f06eb3b9bc90efc8dd7a2c.tar.bz2
openpgp-api-34ccf4df41a30cb586f06eb3b9bc90efc8dd7a2c.zip
EXTRA_PASSPHRASE from String to char[]
-rw-r--r--src/main/java/org/openintents/openpgp/util/OpenPgpApi.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java b/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java
index 7a71405..b1290fe 100644
--- a/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java
+++ b/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java
@@ -64,6 +64,7 @@ public class OpenPgpApi {
* - Return PendingIntent to view key for signatures
* - New result for ACTION_DECRYPT_VERIFY: RESULT_TYPE
* - New ACTION_GET_SIGN_KEY_ID
+ * - EXTRA_PASSPHRASE changed from String to char[]
*/
public static final int API_VERSION = 7;
@@ -86,7 +87,7 @@ public class OpenPgpApi {
* <p/>
* optional extras:
* boolean EXTRA_REQUEST_ASCII_ARMOR (DEPRECATED: this makes no sense here)
- * String EXTRA_PASSPHRASE (key passphrase)
+ * char[] EXTRA_PASSPHRASE (key passphrase)
*/
public static final String ACTION_SIGN = "org.openintents.openpgp.action.SIGN";
@@ -101,7 +102,7 @@ public class OpenPgpApi {
* long EXTRA_SIGN_KEY_ID (key id of signing key)
* <p/>
* optional extras:
- * String EXTRA_PASSPHRASE (key passphrase)
+ * char[] EXTRA_PASSPHRASE (key passphrase)
*/
public static final String ACTION_CLEARTEXT_SIGN = "org.openintents.openpgp.action.CLEARTEXT_SIGN";
@@ -115,7 +116,7 @@ public class OpenPgpApi {
* <p/>
* optional extras:
* boolean EXTRA_REQUEST_ASCII_ARMOR (request ascii armor for detached signature)
- * String EXTRA_PASSPHRASE (key passphrase)
+ * char[] EXTRA_PASSPHRASE (key passphrase)
* <p/>
* returned extras:
* byte[] RESULT_DETACHED_SIGNATURE
@@ -132,7 +133,7 @@ public class OpenPgpApi {
* <p/>
* optional extras:
* boolean EXTRA_REQUEST_ASCII_ARMOR (request ascii armor for output)
- * String EXTRA_PASSPHRASE (key passphrase)
+ * char[] EXTRA_PASSPHRASE (key passphrase)
* String EXTRA_ORIGINAL_FILENAME (original filename to be encrypted as metadata)
* boolean EXTRA_ENABLE_COMPRESSION (enable ZLIB compression, default ist true)
*/
@@ -149,7 +150,7 @@ public class OpenPgpApi {
* optional extras:
* long EXTRA_SIGN_KEY_ID (key id of signing key)
* boolean EXTRA_REQUEST_ASCII_ARMOR (request ascii armor for output)
- * String EXTRA_PASSPHRASE (key passphrase)
+ * char[] EXTRA_PASSPHRASE (key passphrase)
* String EXTRA_ORIGINAL_FILENAME (original filename to be encrypted as metadata)
* boolean EXTRA_ENABLE_COMPRESSION (enable ZLIB compression, default ist true)
*/