api: add micalg result extra to detached signature api call

This commit is contained in:
Vincent Breitmoser committed 2015-12-17 01:08:23 +01:00
1 parent 5344307e22
commit e32c1a9ced
5 files changed
+21 -2

No files matched your search

@@ -327,6 +327,7 @@ public class OpenPgpService extends Service {
Intent result = new Intent();
if (pgpResult.getDetachedSignature() != null && !cleartextSign) {
result.putExtra(OpenPgpApi.RESULT_DETACHED_SIGNATURE, pgpResult.getDetachedSignature());
result.putExtra(OpenPgpApi.RESULT_SIGNATURE_MICALG, pgpResult.getMicAlgDigestName());
}
result.putExtra(OpenPgpApi.RESULT_CODE, OpenPgpApi.RESULT_CODE_SUCCESS);
return result;