API documentation

This commit is contained in:
Dominik Schürmann 2013-09-16 16:30:06 +02:00
parent 0ef8663422
commit 5a947df33e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);