1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Update openpgp library

This commit is contained in:
Dominik Schürmann 2014-03-26 21:46:26 +01:00
parent fba406c29f
commit 8f1723a451
2 changed files with 19 additions and 1 deletions

View File

@ -38,18 +38,34 @@ public class OpenPgpSignatureResult implements Parcelable {
return status; return status;
} }
public void setStatus(int status) {
this.status = status;
}
public boolean isSignatureOnly() { public boolean isSignatureOnly() {
return signatureOnly; return signatureOnly;
} }
public void setSignatureOnly(boolean signatureOnly) {
this.signatureOnly = signatureOnly;
}
public String getUserId() { public String getUserId() {
return userId; return userId;
} }
public void setUserId(String userId) {
this.userId = userId;
}
public long getKeyId() { public long getKeyId() {
return keyId; return keyId;
} }
public void setKeyId(long keyId) {
this.keyId = keyId;
}
public OpenPgpSignatureResult() { public OpenPgpSignatureResult() {
} }

View File

@ -126,6 +126,8 @@ public class OpenPgpApi {
/* Intent extras */ /* Intent extras */
public static final String EXTRA_API_VERSION = "api_version"; public static final String EXTRA_API_VERSION = "api_version";
public static final String EXTRA_ACCOUNT_NAME = "account_name";
// SIGN, ENCRYPT, SIGN_AND_ENCRYPT, DECRYPT_VERIFY // SIGN, ENCRYPT, SIGN_AND_ENCRYPT, DECRYPT_VERIFY
// request ASCII Armor for output // request ASCII Armor for output
// OpenPGP Radix-64, 33 percent overhead compared to binary, see http://tools.ietf.org/html/rfc4880#page-53) // OpenPGP Radix-64, 33 percent overhead compared to binary, see http://tools.ietf.org/html/rfc4880#page-53)