| Constructor and Description |
|---|
RingElementPlainText(org.cryptimeleon.math.serialization.Representation repr) |
RingElementPlainText(org.cryptimeleon.math.structures.rings.RingElement element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
org.cryptimeleon.math.structures.rings.RingElement |
getRingElement()
Returns the ring element represented by this plain text.
|
int |
hashCode() |
java.lang.String |
toString() |
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator) |
public RingElementPlainText(org.cryptimeleon.math.structures.rings.RingElement element)
public RingElementPlainText(org.cryptimeleon.math.serialization.Representation repr)
public org.cryptimeleon.math.structures.rings.RingElement getRingElement()
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic org.cryptimeleon.math.hash.ByteAccumulator updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator)
updateAccumulator in interface org.cryptimeleon.math.hash.UniqueByteRepresentable