aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/CertifyActionsParcel.java
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-03-08 01:44:06 +0100
committerVincent Breitmoser <valodim@mugenguild.com>2015-03-08 01:46:30 +0100
commit30ca8637ff50a78a7f36b82d3deef577f2f1e792 (patch)
tree2ecb085a34b4ac53758551a299709c0812f474b4 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/CertifyActionsParcel.java
parent443feef27a30ee141750fae025c8b0f475034c7b (diff)
downloadopen-keychain-30ca8637ff50a78a7f36b82d3deef577f2f1e792.tar.gz
open-keychain-30ca8637ff50a78a7f36b82d3deef577f2f1e792.tar.bz2
open-keychain-30ca8637ff50a78a7f36b82d3deef577f2f1e792.zip
add support for certification of user attributes
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/CertifyActionsParcel.java')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/CertifyActionsParcel.java14
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/CertifyActionsParcel.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/CertifyActionsParcel.java
index f0dbf0820..f4b941109 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/CertifyActionsParcel.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/CertifyActionsParcel.java
@@ -24,6 +24,9 @@ import android.os.Parcelable;
import java.io.Serializable;
import java.util.ArrayList;
+import org.sufficientlysecure.keychain.pgp.WrappedUserAttribute;
+
+
/**
* This class is a a transferable representation for a number of keyrings to
* be certified.
@@ -76,14 +79,19 @@ public class CertifyActionsParcel implements Parcelable {
final public long mMasterKeyId;
final public ArrayList<String> mUserIds;
+ final public ArrayList<WrappedUserAttribute> mUserAttributes;
- public CertifyAction(long masterKeyId) {
- this(masterKeyId, null);
+ public CertifyAction(long masterKeyId, ArrayList<String> userIds) {
+ mMasterKeyId = masterKeyId;
+ mUserIds = userIds;
+ mUserAttributes = null;
}
- public CertifyAction(long masterKeyId, ArrayList<String> userIds) {
+ public CertifyAction(long masterKeyId, ArrayList<String> userIds,
+ ArrayList<WrappedUserAttribute> attributes) {
mMasterKeyId = masterKeyId;
mUserIds = userIds;
+ mUserAttributes = attributes;
}
}