public static class SendFirstValue.AlgebraicSendFirstValue extends java.lang.Object implements SendFirstValue
Elements) to send first.SendFirstValue.AlgebraicSendFirstValue, SendFirstValue.EmptySendFirstValueEMPTY| Constructor and Description |
|---|
AlgebraicSendFirstValue(org.cryptimeleon.math.structures.Element... values)
Instantiates the SendFirstValue with an ordered list of values to send.
|
AlgebraicSendFirstValue(org.cryptimeleon.math.serialization.Representation repr,
org.cryptimeleon.math.structures.Structure... structures)
Recreates the SendFirstValue from representation.
|
| Modifier and Type | Method and Description |
|---|---|
org.cryptimeleon.math.structures.Element |
getElement(int i)
Returns the i'th element from the list (zero-based indexing)
|
org.cryptimeleon.math.structures.groups.GroupElement |
getGroupElement(int i)
Returns the i'th element from the list (zero-based indexing)
|
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
org.cryptimeleon.math.structures.rings.zn.Zn.ZnElement |
getZnElement(int i)
Returns the i'th element from the list (zero-based indexing)
|
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator) |
public AlgebraicSendFirstValue(org.cryptimeleon.math.structures.Element... values)
public AlgebraicSendFirstValue(org.cryptimeleon.math.serialization.Representation repr,
org.cryptimeleon.math.structures.Structure... structures)
repr - the representation returned by getRepresentation()structures - the structures to use to restore the sent elements
(same order as in the AlgebraicSendFirstValue(Element...) constructor)public org.cryptimeleon.math.structures.Element getElement(int i)
public org.cryptimeleon.math.structures.groups.GroupElement getGroupElement(int i)
public org.cryptimeleon.math.structures.rings.zn.Zn.ZnElement getZnElement(int i)
public org.cryptimeleon.math.hash.ByteAccumulator updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator)
updateAccumulator in interface org.cryptimeleon.math.hash.UniqueByteRepresentablepublic org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representable