API documentation

This commit is contained in:
Dominik Schürmann 2013-09-16 16:24:11 +02:00
parent 168432abab
commit 0ef8663422

View File

@ -23,7 +23,7 @@ import org.openintents.openpgp.IOpenPgpCallback;
* Results are returned to the callback, which has to be implemented on client side.
*/
interface IOpenPgpService {
/**
* Encrypt
*
@ -82,11 +82,11 @@ interface IOpenPgpService {
in boolean asciiArmor, in boolean allowUserInteraction, in IOpenPgpCallback callback);
/**
* Decrypts and verifies given input bytes. This methods handles the encrypted-only, signed-and-encrypted,
* Decrypts and verifies given input bytes. This methods handles encrypted-only, signed-and-encrypted,
* and also signed-only inputBytes.
*
* After successful decryption, callback's onSuccess will contain the resulting output bytes.
* callback's onSuccess will return the signatureResult for signed-and-encrypted and signed-only inputs.
* After successful decryption/verification, callback's onSuccess will contain the resulting output bytes.
* The signatureResult in onSuccess is only non-null if signed-and-encrypted and signed-only inputBytes were given.
*
* @param inputBytes
* Byte array you want to decrypt and verify