public class ElgamalKEMCiphertext extends java.lang.Object implements CipherText
| Constructor and Description |
|---|
ElgamalKEMCiphertext(ElgamalCipherText c,
ByteArrayImplementation encaps) |
ElgamalKEMCiphertext(org.cryptimeleon.math.serialization.Representation repr,
ElgamalEncryption scheme) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ElgamalCipherText |
getElgamalCipherText() |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
ByteArrayImplementation |
getSymmetricEncryption() |
int |
hashCode() |
public ElgamalKEMCiphertext(ElgamalCipherText c, ByteArrayImplementation encaps)
public ElgamalKEMCiphertext(org.cryptimeleon.math.serialization.Representation repr,
ElgamalEncryption scheme)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ElgamalCipherText getElgamalCipherText()
public ByteArrayImplementation getSymmetricEncryption()
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representable