PublicSharing implements Serializable { public boolean verifyAllShares(final PaillierPublicKey[] shareholderKeys) { for (int i = 0; i < shareholderKeys.length; i++) { if (!verifyShare(i, shareholderKeys[i])) { return false; } } return true; } PublicSharing(final EcPoint[] pedersenCommitments, final BigInteger[] encryptedShares1,
			final BigInteger[] encryptedShares2, final PedersenEqRangeProof[] proofs); EcPoint[] getPedersenCommitments(); BigInteger[] getEncryptedShares1(); BigInteger[] getEncryptedShares2(); PedersenEqRangeProof[] getProofs(); int getNumShares(); int getThreshold(); boolean verifyAllShares(final PaillierPublicKey[] shareholderKeys); boolean verifyShare(final int shareIndex, final PaillierPublicKey encryptionKey); EcPoint getSecretCommitment(); ShamirShare accessShare1(final int shareIndex, final PaillierPrivateKey decryptionKey); ShamirShare accessShare2(final int shareIndex, final PaillierPrivateKey decryptionKey); @Override String toString(); long getSize(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testVerifyAllShares() { fail("Not yet implemented"); }