API documentation

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

View File

@ -82,11 +82,11 @@ interface IOpenPgpService {
in boolean asciiArmor, in boolean allowUserInteraction, in IOpenPgpCallback callback); 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. * and also signed-only inputBytes.
* *
* After successful decryption, callback's onSuccess will contain the resulting output bytes. * After successful decryption/verification, callback's onSuccess will contain the resulting output bytes.
* callback's onSuccess will return the signatureResult for signed-and-encrypted and signed-only inputs. * The signatureResult in onSuccess is only non-null if signed-and-encrypted and signed-only inputBytes were given.
* *
* @param inputBytes * @param inputBytes
* Byte array you want to decrypt and verify * Byte array you want to decrypt and verify