public interface BilinearGroup extends StandaloneRepresentable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BilinearGroup.Type
The types of a
BilinearGroup. |
| Modifier and Type | Method and Description |
|---|---|
BilinearMap |
getBilinearMap()
Returns the
BilinearMap (contains the pairing operation) belonging to this BilinearGroup. |
Group |
getG1()
Returns the source group G1 associated with this bilinear group.
|
Group |
getG2()
Returns the source group G2 associated with this bilinear group.
|
Group |
getGT()
Returns the target group GT associated with this bilinear group.
|
HashIntoGroup |
getHashIntoG1()
Retrieves a hash function that maps byte arrays to G1.
|
HashIntoGroup |
getHashIntoG2()
Retrieves a hash function that maps byte arrays to G2.
|
HashIntoGroup |
getHashIntoGT()
Retrieves a hash function that maps byte arrays to GT.
|
default HashIntoZn |
getHashIntoZGroupExponent()
Returns a hash into Zn, where n is the common group exponent of G1, G2 and GT.
|
GroupHomomorphism |
getHomomorphismG2toG1()
Retrieves the homomorphism from G2 to G1 if it exists.
|
BilinearGroup.Type |
getPairingType() |
java.lang.Integer |
getSecurityLevel() |
default Zn |
getZn()
Retrieves the ring
Zn where n is chosen to be the order of the pairing source group G1. |
default java.math.BigInteger |
size()
Retrieves the size of G1 (same as size of G2 and target group)
|
getRepresentationGroup getG1()
Group getG2()
Group getGT()
BilinearMap getBilinearMap()
BilinearMap (contains the pairing operation) belonging to this BilinearGroup.GroupHomomorphism getHomomorphismG2toG1() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - if no such homomorphism exists or the bilinear group is not configured
to support such functionalityHashIntoGroup getHashIntoG1() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - if no such hash function exists or the bilinear group is not configured
to support such functionalityHashIntoGroup getHashIntoG2() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - if no such hash function exists or the bilinear group is not configured
to support such functionalityHashIntoGroup getHashIntoGT() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - if no such hash function exists or the bilinear group is not configured
to support such functionalityjava.lang.Integer getSecurityLevel()
BilinearGroup.Type getPairingType()
default HashIntoZn getHashIntoZGroupExponent() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - if this factory does not support a hash into exponents or G1, G2, GT don't
have the same group exponentdefault Zn getZn()
Zn where n is chosen to be the order of the pairing source group G1.default java.math.BigInteger size()