mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
API documentation
This commit is contained in:
parent
0ef8663422
commit
5a947df33e
@ -25,7 +25,7 @@ public class OpenPgpSignatureResult implements Parcelable {
|
|||||||
// successfully verified signature, with trusted public key
|
// successfully verified signature, with trusted public key
|
||||||
public static final int SIGNATURE_SUCCESS_TRUSTED = 1;
|
public static final int SIGNATURE_SUCCESS_TRUSTED = 1;
|
||||||
// no public key was found for this signature verification
|
// 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
|
// successfully verified signature, but with untrusted public key
|
||||||
public static final int SIGNATURE_SUCCESS_UNTRUSTED = 3;
|
public static final int SIGNATURE_SUCCESS_UNTRUSTED = 3;
|
||||||
|
|
||||||
|
@ -419,7 +419,7 @@ public class OpenPgpService extends RemoteService {
|
|||||||
if (signatureSuccess) {
|
if (signatureSuccess) {
|
||||||
signatureStatus = OpenPgpSignatureResult.SIGNATURE_SUCCESS_TRUSTED;
|
signatureStatus = OpenPgpSignatureResult.SIGNATURE_SUCCESS_TRUSTED;
|
||||||
} else if (signatureUnknown) {
|
} else if (signatureUnknown) {
|
||||||
signatureStatus = OpenPgpSignatureResult.SIGNATURE_UNKNOWN;
|
signatureStatus = OpenPgpSignatureResult.SIGNATURE_UNKNOWN_PUB_KEY;
|
||||||
}
|
}
|
||||||
|
|
||||||
sigResult = new OpenPgpSignatureResult(signatureStatus, signatureUserId, signedOnly);
|
sigResult = new OpenPgpSignatureResult(signatureStatus, signatureUserId, signedOnly);
|
||||||
|
Loading…
Reference in New Issue
Block a user