public EncryptedBallot(byte[] userId, String sid, long[] vote) throws InvalidVoteException {
		this.userId = userId;
		this.sid = sid;
		this.vote = encryptVote(vote);
		this.signature = Security.sign(Security.getBulletinBoardRSAPublicKey(), toByteArray());
	}