public static enum BilinearGroup.Type extends java.lang.Enum<BilinearGroup.Type>
BilinearGroup.
The types have the following properties:
TYPE_1: G1 = G2
TYPE_2: G1 != G2 and there exists a computable isomorphism
G2 -> G1
TYPE_3: G1 != G2 and we assume there is no efficiently computable isomorphism
G2 -> G1
| Modifier and Type | Method and Description |
|---|---|
static BilinearGroup.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BilinearGroup.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BilinearGroup.Type TYPE_1
public static final BilinearGroup.Type TYPE_2
public static final BilinearGroup.Type TYPE_3
public static BilinearGroup.Type[] values()
for (BilinearGroup.Type c : BilinearGroup.Type.values()) System.out.println(c);
public static BilinearGroup.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null