aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/openintents/openpgp/OpenPgpSignatureResult.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/openintents/openpgp/OpenPgpSignatureResult.java')
-rw-r--r--src/org/openintents/openpgp/OpenPgpSignatureResult.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/org/openintents/openpgp/OpenPgpSignatureResult.java b/src/org/openintents/openpgp/OpenPgpSignatureResult.java
index 7a4d799d..23401a1d 100644
--- a/src/org/openintents/openpgp/OpenPgpSignatureResult.java
+++ b/src/org/openintents/openpgp/OpenPgpSignatureResult.java
@@ -37,12 +37,16 @@ public class OpenPgpSignatureResult implements Parcelable {
// generic error on signature verification
public static final int SIGNATURE_ERROR = 0;
- // successfully verified signature, with certified public key
+ // successfully verified signature, with certified key
public static final int SIGNATURE_SUCCESS_CERTIFIED = 1;
- // no public key was found for this signature verification
- public static final int SIGNATURE_UNKNOWN_PUB_KEY = 2;
- // successfully verified signature, but with uncertified public key
+ // no key was found for this signature verification
+ public static final int SIGNATURE_KEY_MISSING = 2;
+ // successfully verified signature, but with uncertified key
public static final int SIGNATURE_SUCCESS_UNCERTIFIED = 3;
+ // key has been revoked
+ public static final int SIGNATURE_KEY_REVOKED = 4;
+ // key is expired
+ public static final int SIGNATURE_KEY_EXPIRED = 5;
int status;
boolean signatureOnly;