public class SetMembershipPublicParameters
extends java.lang.Object
implements org.cryptimeleon.math.serialization.Representable
| Constructor and Description |
|---|
SetMembershipPublicParameters(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup bilinearGroup,
org.cryptimeleon.math.structures.groups.GroupElement g1,
org.cryptimeleon.math.structures.groups.GroupElement g2,
org.cryptimeleon.math.structures.groups.GroupElement pk,
java.util.HashMap<java.math.BigInteger,org.cryptimeleon.math.structures.groups.GroupElement> signatures) |
SetMembershipPublicParameters(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group,
org.cryptimeleon.math.serialization.Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static SetMembershipPublicParameters |
generate(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group,
java.math.BigInteger... set) |
static SetMembershipPublicParameters |
generate(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group,
java.util.Collection<java.math.BigInteger> set) |
static SetMembershipPublicParameters |
generate(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group,
int... set) |
static SetMembershipPublicParameters |
generateInterval(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group,
int leftBoundInclusive,
int rightBoundExclusive)
Generates parameters for a set membership proof for [leftBoundInclusive, rightBoundExclusive).
|
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
org.cryptimeleon.math.structures.rings.zn.Zn |
getZn() |
int |
hashCode() |
public SetMembershipPublicParameters(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup bilinearGroup,
org.cryptimeleon.math.structures.groups.GroupElement g1,
org.cryptimeleon.math.structures.groups.GroupElement g2,
org.cryptimeleon.math.structures.groups.GroupElement pk,
java.util.HashMap<java.math.BigInteger,org.cryptimeleon.math.structures.groups.GroupElement> signatures)
public SetMembershipPublicParameters(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group,
org.cryptimeleon.math.serialization.Representation repr)
public static SetMembershipPublicParameters generate(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group, java.util.Collection<java.math.BigInteger> set)
public static SetMembershipPublicParameters generate(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group, java.math.BigInteger... set)
public static SetMembershipPublicParameters generate(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group, int... set)
public static SetMembershipPublicParameters generateInterval(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup group, int leftBoundInclusive, int rightBoundExclusive)
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic org.cryptimeleon.math.structures.rings.zn.Zn getZn()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object