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()
void
setE
(BigInteger e) void
setU1
(BigInteger u1) void
setU2
(BigInteger u2) void
setV
(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