introduce OperationResultParcel for PgpDecryptVerify operations (WIP)

This commit is contained in:
Vincent Breitmoser
2014-09-13 17:54:10 +02:00
parent 19252380f1
commit 4c636a1471
8 changed files with 204 additions and 233 deletions

View File

@@ -19,7 +19,7 @@ package org.sufficientlysecure.keychain.support;
import android.content.Context;
import org.sufficientlysecure.keychain.pgp.PgpDecryptVerify;
import org.sufficientlysecure.keychain.pgp.PgpDecryptVerifyResult;
import org.sufficientlysecure.keychain.service.results.DecryptVerifyResult;
import org.sufficientlysecure.keychain.provider.ProviderHelper;
import org.sufficientlysecure.keychain.util.InputData;
@@ -56,7 +56,7 @@ public class PgpVerifyTestingHelper {
OutputStream outStream = new ByteArrayOutputStream();
PgpDecryptVerify verify = new PgpDecryptVerify.Builder(providerHelper, passphraseCache, data, outStream).build();
PgpDecryptVerifyResult result = verify.execute();
DecryptVerifyResult result = verify.execute();
return result.getSignatureResult().getStatus();
}