View Javadoc
1   /*
2    * This file is part of the Civitas software distribution.
3    * Copyright (c) 2007-2008, Civitas project group, Cornell University.
4    * See the LICENSE file accompanying this distribution for further license
5    * and copyright information.
6    */
7   package civitas.common.votercapabilitysharesandproofs;
8   
9   import civitas.crypto.proofdvr.ElGamalProofDVR;
10  import civitas.crypto.reencryptfactor.ElGamalReencryptFactor;
11  import civitas.crypto.votecapabilityshare.VoteCapabilityShare;
12  import lombok.NonNull;
13  import lombok.Value;
14  
15  @Value
16  public class VoterCapabilitySharesAndProof {
17  	@NonNull public VoteCapabilityShare[] capabilities;
18  
19  	@NonNull public ElGamalReencryptFactor[] rencryptFactors;
20  
21  	@NonNull public ElGamalProofDVR[] proofs;
22  
23  	public int voterBlock;
24  }