aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain-API-Demo/src/org/openintents/openpgp/OpenPgpSignatureResult.java
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2013-10-02 19:08:33 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2013-10-02 19:08:33 +0200
commit2a0df5b75abc35978abbe669177662b4d66fbf18 (patch)
treed69198bf734255cb2d5229674554ee9d2b0e96bd /OpenPGP-Keychain-API-Demo/src/org/openintents/openpgp/OpenPgpSignatureResult.java
parent224faa42ac855776a8494decfcac9d23dbfcec09 (diff)
downloadopen-keychain-2a0df5b75abc35978abbe669177662b4d66fbf18.tar.gz
open-keychain-2a0df5b75abc35978abbe669177662b4d66fbf18.tar.bz2
open-keychain-2a0df5b75abc35978abbe669177662b4d66fbf18.zip
API update
Diffstat (limited to 'OpenPGP-Keychain-API-Demo/src/org/openintents/openpgp/OpenPgpSignatureResult.java')
-rw-r--r--OpenPGP-Keychain-API-Demo/src/org/openintents/openpgp/OpenPgpSignatureResult.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenPGP-Keychain-API-Demo/src/org/openintents/openpgp/OpenPgpSignatureResult.java b/OpenPGP-Keychain-API-Demo/src/org/openintents/openpgp/OpenPgpSignatureResult.java
index 0d24e7bd4..4446614dd 100644
--- a/OpenPGP-Keychain-API-Demo/src/org/openintents/openpgp/OpenPgpSignatureResult.java
+++ b/OpenPGP-Keychain-API-Demo/src/org/openintents/openpgp/OpenPgpSignatureResult.java
@@ -20,9 +20,13 @@ import android.os.Parcel;
import android.os.Parcelable;
public class OpenPgpSignatureResult implements Parcelable {
+ // generic error on signature verification
public static final int SIGNATURE_ERROR = 0;
+ // successfully verified signature, with trusted public key
public static final int SIGNATURE_SUCCESS_TRUSTED = 1;
- public static final int SIGNATURE_UNKNOWN = 2;
+ // no public key was found for this signature verification
+ 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;
int signatureStatus;