public class CommitmentPair
extends java.lang.Object
implements org.cryptimeleon.math.serialization.Representable, org.cryptimeleon.math.hash.UniqueByteRepresentable
Contains the commitment itself as well as the value necessary to open the commitment.
| Constructor and Description |
|---|
CommitmentPair(Commitment commitment,
OpenValue openValue) |
| Modifier and Type | Method and Description |
|---|---|
Commitment |
getCommitment() |
OpenValue |
getOpenValue() |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator) |
public CommitmentPair(Commitment commitment, OpenValue openValue)
public Commitment getCommitment()
public OpenValue getOpenValue()
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