public class TCGAKOT15XSIGCommitment extends TCGAKOT15Commitment
TCGAKOT15Commitment that is compatible with
the message space of SPSXSIGSignatureScheme
It adds two elements to the commitment which are required for XSIG to be able to sign this commitment.| Constructor and Description |
|---|
TCGAKOT15XSIGCommitment(org.cryptimeleon.math.structures.groups.GroupElement group2ElementGu,
org.cryptimeleon.math.structures.groups.GroupElement group2ElementGu2,
org.cryptimeleon.math.structures.groups.GroupElement group2ElementGu3) |
TCGAKOT15XSIGCommitment(org.cryptimeleon.math.structures.groups.Group group2,
org.cryptimeleon.math.serialization.Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
org.cryptimeleon.math.structures.groups.GroupElement |
getGroup2ElementGu2() |
org.cryptimeleon.math.structures.groups.GroupElement |
getGroup2ElementGu3() |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
int |
hashCode() |
MessageBlock |
toMessageBlock()
generate a
MessageBlock containing the GroupElements stored in this commitment
in a way that they match the message structure required by
SPSXSIGSignatureScheme |
getGroup2ElementGu, updateAccumulatorpublic TCGAKOT15XSIGCommitment(org.cryptimeleon.math.structures.groups.GroupElement group2ElementGu,
org.cryptimeleon.math.structures.groups.GroupElement group2ElementGu2,
org.cryptimeleon.math.structures.groups.GroupElement group2ElementGu3)
public TCGAKOT15XSIGCommitment(org.cryptimeleon.math.structures.groups.Group group2,
org.cryptimeleon.math.serialization.Representation repr)
public org.cryptimeleon.math.structures.groups.GroupElement getGroup2ElementGu2()
public org.cryptimeleon.math.structures.groups.GroupElement getGroup2ElementGu3()
public MessageBlock toMessageBlock()
MessageBlock containing the GroupElements stored in this commitment
in a way that they match the message structure required by
SPSXSIGSignatureSchemepublic org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.RepresentablegetRepresentation in class TCGAKOT15Commitmentpublic boolean equals(java.lang.Object o)
equals in class TCGAKOT15Commitmentpublic int hashCode()
hashCode in class TCGAKOT15Commitment