Package org.bouncycastle.crypto.engines
Class CramerShoupCiphertext
java.lang.Object
org.bouncycastle.crypto.engines.CramerShoupCiphertext
Class, holding Cramer Shoup ciphertexts (u1, u2, e, v)
-
Constructor Summary
ConstructorsConstructorDescriptionCramerShoupCiphertext(byte[] c) CramerShoupCiphertext(BigInteger u1, BigInteger u2, BigInteger e, BigInteger v) -
Method Summary
Modifier and TypeMethodDescriptiongetE()getU1()getU2()getV()voidsetE(BigInteger e) voidsetU1(BigInteger u1) voidsetU2(BigInteger u2) voidsetV(BigInteger v) byte[]convert the cipher-text in a byte array, prepending them with 4 Bytes for their lengthtoString()
-
Constructor Details
-
CramerShoupCiphertext
public CramerShoupCiphertext() -
CramerShoupCiphertext
-
CramerShoupCiphertext
public CramerShoupCiphertext(byte[] c)
-
-
Method Details