From 5a947df33e331c0fed3dbeb9864805cd76101432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Mon, 16 Sep 2013 16:30:06 +0200 Subject: API documentation --- .../src/org/openintents/openpgp/OpenPgpSignatureResult.java | 2 +- .../org/sufficientlysecure/keychain/service/remote/OpenPgpService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenPGP-Keychain/src') diff --git a/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpSignatureResult.java b/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpSignatureResult.java index 6ace29385..4446614dd 100644 --- a/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpSignatureResult.java +++ b/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpSignatureResult.java @@ -25,7 +25,7 @@ public class OpenPgpSignatureResult implements Parcelable { // successfully verified signature, with trusted public key public static final int SIGNATURE_SUCCESS_TRUSTED = 1; // no public key was found for this signature verification - public static final int SIGNATURE_UNKNOWN = 2; + public static final int SIGNATURE_UNKNOWN_PUB_KEY = 2; // successfully verified signature, but with untrusted public key public static final int SIGNATURE_SUCCESS_UNTRUSTED = 3; diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/service/remote/OpenPgpService.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/service/remote/OpenPgpService.java index 71b502fba..01d7ac252 100644 --- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/service/remote/OpenPgpService.java +++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/service/remote/OpenPgpService.java @@ -419,7 +419,7 @@ public class OpenPgpService extends RemoteService { if (signatureSuccess) { signatureStatus = OpenPgpSignatureResult.SIGNATURE_SUCCESS_TRUSTED; } else if (signatureUnknown) { - signatureStatus = OpenPgpSignatureResult.SIGNATURE_UNKNOWN; + signatureStatus = OpenPgpSignatureResult.SIGNATURE_UNKNOWN_PUB_KEY; } sigResult = new OpenPgpSignatureResult(signatureStatus, signatureUserId, signedOnly); -- cgit v1.2.3