mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-02-26 00:11:52 -05:00
Fix API docs
This commit is contained in:
parent
b9a9bbe429
commit
a3f17be192
@ -38,7 +38,7 @@ public class OpenPgpApi {
|
|||||||
/**
|
/**
|
||||||
* Sign only
|
* Sign only
|
||||||
*
|
*
|
||||||
* optional params:
|
* optional extras:
|
||||||
* String EXTRA_PASSPHRASE (for key passphrase)
|
* String EXTRA_PASSPHRASE (for key passphrase)
|
||||||
*/
|
*/
|
||||||
public static final String ACTION_SIGN = "org.openintents.openpgp.action.SIGN";
|
public static final String ACTION_SIGN = "org.openintents.openpgp.action.SIGN";
|
||||||
@ -47,7 +47,7 @@ public class OpenPgpApi {
|
|||||||
* General extras
|
* General extras
|
||||||
* --------------
|
* --------------
|
||||||
*
|
*
|
||||||
* Intent extras:
|
* required extras:
|
||||||
* int EXTRA_API_VERSION (required)
|
* int EXTRA_API_VERSION (required)
|
||||||
* boolean EXTRA_REQUEST_ASCII_ARMOR (request ascii armor for ouput)
|
* boolean EXTRA_REQUEST_ASCII_ARMOR (request ascii armor for ouput)
|
||||||
*
|
*
|
||||||
@ -60,10 +60,10 @@ public class OpenPgpApi {
|
|||||||
/**
|
/**
|
||||||
* Encrypt
|
* Encrypt
|
||||||
*
|
*
|
||||||
* extras:
|
* required extras:
|
||||||
* long[] EXTRA_KEY_IDS
|
|
||||||
* or
|
|
||||||
* String[] EXTRA_USER_IDS (= emails of recipients) (if more than one key has this user_id, a PendingIntent is returned)
|
* String[] EXTRA_USER_IDS (= emails of recipients) (if more than one key has this user_id, a PendingIntent is returned)
|
||||||
|
* or
|
||||||
|
* long[] EXTRA_KEY_IDS
|
||||||
*
|
*
|
||||||
* optional extras:
|
* optional extras:
|
||||||
* String EXTRA_PASSPHRASE (for key passphrase)
|
* String EXTRA_PASSPHRASE (for key passphrase)
|
||||||
@ -73,10 +73,10 @@ public class OpenPgpApi {
|
|||||||
/**
|
/**
|
||||||
* Sign and encrypt
|
* Sign and encrypt
|
||||||
*
|
*
|
||||||
* extras:
|
* required extras:
|
||||||
* long[] EXTRA_KEY_IDS
|
|
||||||
* or
|
|
||||||
* String[] EXTRA_USER_IDS (= emails of recipients) (if more than one key has this user_id, a PendingIntent is returned)
|
* String[] EXTRA_USER_IDS (= emails of recipients) (if more than one key has this user_id, a PendingIntent is returned)
|
||||||
|
* or
|
||||||
|
* long[] EXTRA_KEY_IDS
|
||||||
*
|
*
|
||||||
* optional extras:
|
* optional extras:
|
||||||
* String EXTRA_PASSPHRASE (for key passphrase)
|
* String EXTRA_PASSPHRASE (for key passphrase)
|
||||||
@ -84,7 +84,7 @@ public class OpenPgpApi {
|
|||||||
public static final String ACTION_SIGN_AND_ENCRYPT = "org.openintents.openpgp.action.SIGN_AND_ENCRYPT";
|
public static final String ACTION_SIGN_AND_ENCRYPT = "org.openintents.openpgp.action.SIGN_AND_ENCRYPT";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Decrypts and verifies given input bytes. This methods handles encrypted-only, signed-and-encrypted,
|
* Decrypts and verifies given input stream. This methods handles encrypted-only, signed-and-encrypted,
|
||||||
* and also signed-only input.
|
* and also signed-only input.
|
||||||
*
|
*
|
||||||
* returned extras:
|
* returned extras:
|
||||||
@ -95,19 +95,19 @@ public class OpenPgpApi {
|
|||||||
/**
|
/**
|
||||||
* Get key ids based on given user ids (=emails)
|
* Get key ids based on given user ids (=emails)
|
||||||
*
|
*
|
||||||
* Intent extras:
|
* required extras:
|
||||||
* String[] EXTRA_KEY_IDS
|
* String[] EXTRA_USER_IDS
|
||||||
*
|
*
|
||||||
* returned extras:
|
* returned extras:
|
||||||
* long[] EXTRA_USER_IDS
|
* long[] EXTRA_KEY_IDS
|
||||||
*/
|
*/
|
||||||
public static final String ACTION_GET_KEY_IDS = "org.openintents.openpgp.action.GET_KEY_IDS";
|
public static final String ACTION_GET_KEY_IDS = "org.openintents.openpgp.action.GET_KEY_IDS";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Download keys from keyserver
|
* Download keys from keyserver
|
||||||
*
|
*
|
||||||
* Intent extras:
|
* required extras:
|
||||||
* String[] EXTRA_KEY_IDS
|
* long[] EXTRA_KEY_IDS
|
||||||
*/
|
*/
|
||||||
public static final String ACTION_DOWNLOAD_KEYS = "org.openintents.openpgp.action.DOWNLOAD_KEYS";
|
public static final String ACTION_DOWNLOAD_KEYS = "org.openintents.openpgp.action.DOWNLOAD_KEYS";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user