diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-08-31 23:39:56 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-08-31 23:39:56 +0200 |
commit | e0be0f648ade84a83c7561c0521853447ca8b3da (patch) | |
tree | 3f10d083759b8064f33862caaa16e9e6228b8f31 /src/org/openintents/openpgp/OpenPgpSignatureResult.java | |
parent | 1d0eeef047c4938f4e25bc06f7e92e83aa46a4c4 (diff) |
Add SIGNATURE_KEY_REVOKED, SIGNATURE_KEY_EXPIRED, rename SIGNATURE_PUB_KEY_UNKNOWN
Diffstat (limited to 'src/org/openintents/openpgp/OpenPgpSignatureResult.java')
-rw-r--r-- | src/org/openintents/openpgp/OpenPgpSignatureResult.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/org/openintents/openpgp/OpenPgpSignatureResult.java b/src/org/openintents/openpgp/OpenPgpSignatureResult.java index 7a4d799dc..23401a1d8 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; |