- generate() - Method in interface it.unisa.dia.gas.jpbc.PairingParametersGenerator
-
Generates the parameters.
- getAt(int) - Method in interface it.unisa.dia.gas.jpbc.Vector
-
Returns the element at the specified coordinate.
- getBigInteger(String) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as a BigInteger to which the specified key is mapped.
- getBigInteger(String, BigInteger) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the BigInteger to which the specified key is mapped.
- getBigIntegerAt(String, int) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the BigInteger at the specified index in the array to which
the specified key is mapped.
- getBytes(String) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as an array of bytes to which the specified key is mapped.
- getBytes(String, byte[]) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as an array of bytes to which the specified key is mapped.
- getCanonicalRepresentationLengthInBytes() - Method in interface it.unisa.dia.gas.jpbc.Field
-
Returns the length in bytes needed to canonical represent an element of this Field.
- getCoefficient(int) - Method in interface it.unisa.dia.gas.jpbc.Polynomial
-
Returns the coefficient at a specified position.
- getCoefficients() - Method in interface it.unisa.dia.gas.jpbc.Polynomial
-
Returns the list of coefficients representing
this polynomial.
- getDegree() - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Returns the degree of the pairing.
- getDegree() - Method in interface it.unisa.dia.gas.jpbc.Polynomial
-
Returns the degree of this polynomial.
- getElementPowPreProcessing() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Prepare to exponentiate this element and returns pre-processing information.
- getElementPowPreProcessingFromBytes(byte[]) - Method in interface it.unisa.dia.gas.jpbc.Field
-
Reads an ElementPowPreProcessing from the buffer source.
- getElementPowPreProcessingFromBytes(byte[], int) - Method in interface it.unisa.dia.gas.jpbc.Field
-
Reads an ElementPowPreProcessing from the buffer source starting from offset.
- getField() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Returns the field to which this element lie.
- getField() - Method in interface it.unisa.dia.gas.jpbc.ElementPowPreProcessing
-
Returns the field the pre-processed element belongs to.
- getFieldAt(int) - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Returns the field at level index.
- getFieldIndex(Field) - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Returns the index of the field if it belongs
to this pairing, otherwise it returns -1.
- getG1() - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Return the G1 group.
- getG2() - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Return the G2 group.
- getGT() - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Return the GT group which is the group of rth roots of unity.
- getImmutable() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Returns an immutable copy of this element if the
element is not already immutable.
- getInt(String) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as an int to which the specified key is mapped.
- getInt(String, int) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as an int to which the specified key is mapped.
- getLengthInBytes() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Returns the length in bytes necessary to represent this element.
- getLengthInBytes() - Method in interface it.unisa.dia.gas.jpbc.Field
-
Returns the length in bytes needed to represent an element of this Field.
- getLengthInBytes(Element) - Method in interface it.unisa.dia.gas.jpbc.Field
-
Returns the length in bytes needed to represent an element of this Field.
- getLengthInBytesCompressed() - Method in interface it.unisa.dia.gas.jpbc.Point
-
Returns the length in bytes needed to represent this element in a compressed way.
- getLengthInBytesX() - Method in interface it.unisa.dia.gas.jpbc.Point
-
Returns the length in bytes needed to represent the x coordinate of this element.
- getLong(String) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as a long to which the specified key is mapped.
- getLong(String, long) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as a long to which the specified key is mapped.
- getNqr() - Method in interface it.unisa.dia.gas.jpbc.Field
-
Returns a quadratic non-residue in this field.
- getObject(String) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the object to which the specified key is mapped.
- getOrder() - Method in interface it.unisa.dia.gas.jpbc.Field
-
Returns the order of this field.
- getPairingPreProcessingFromBytes(byte[]) - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Reads a PairingPreProcessing from the buffer source.
- getPairingPreProcessingFromBytes(byte[], int) - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Reads a PairingPreProcessing from the buffer source starting from offset.
- getPairingPreProcessingFromElement(Element) - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Get ready to perform a pairing whose first input is in1, returns the results of time-saving pre-computation.
- getPairingPreProcessingLengthInBytes() - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Returns the length in bytes needed to represent a PairingPreProcessing structure.
- getSize() - Method in interface it.unisa.dia.gas.jpbc.Vector
-
Returns the size of this vector.
- getString(String) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as a string to which the specified key is mapped.
- getString(String, String) - Method in interface it.unisa.dia.gas.jpbc.PairingParameters
-
Returns the value as a string to which the specified key is mapped.
- getTargetField() - Method in interface it.unisa.dia.gas.jpbc.FieldOver
-
Returns the target field.
- getX() - Method in interface it.unisa.dia.gas.jpbc.Point
-
Returns the x-coordinate.
- getY() - Method in interface it.unisa.dia.gas.jpbc.Point
-
Returns the y-coordinate.
- getZr() - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Return the Zr group.
- invert() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this to the inverse of itself.
- isEqual(Element) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Returns true if this and value have the same value, false otherwise.
- isImmutable() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Returns true if this element is immutable, false otherwise.
- isOne() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Returns true if n is one, false otherwise.
- isOrderOdd() - Method in interface it.unisa.dia.gas.jpbc.Field
-
Returns true> if the order is odd,
false otherwise.
- isProductPairingSupported() - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Returns true if optimized
product of pairing is supported,
false otherwise.
- isSqr() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Returns true if this element is a perfect square (quadratic residue), false otherwise.
- isSymmetric() - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Returns true if this pairing is symmetric, false otherwise.
- isZero() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Returns true if n is zero, false otherwise.
- it.unisa.dia.gas.jpbc - package it.unisa.dia.gas.jpbc
-
- Pairing - Interface in it.unisa.dia.gas.jpbc
-
This interface gives access to the pairing functions.
- pairing(Element, Element) - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Applies the bilinear map.
- pairing(Element[], Element[]) - Method in interface it.unisa.dia.gas.jpbc.Pairing
-
Computes the product of pairings, that is
'e'('in1'[0], 'in2'[0]) ...
- pairing(Element) - Method in interface it.unisa.dia.gas.jpbc.PairingPreProcessing
-
Compute the pairing where the second argument is in2.
- PairingParameters - Interface in it.unisa.dia.gas.jpbc
-
Represents the set of parameters describing a pairing.
- PairingParametersGenerator<P extends PairingParameters> - Interface in it.unisa.dia.gas.jpbc
-
This interface lets the user to generate all the necessary parameters
to initialize a pairing.
- PairingPreProcessing - Interface in it.unisa.dia.gas.jpbc
-
If it is known in advance that a particular element will be paired several times
then time can be saved in the long run by using preprocessing.
- Point<E extends Element> - Interface in it.unisa.dia.gas.jpbc
-
This interface represents an element with two coordinates.
- Polynomial<E extends Element> - Interface in it.unisa.dia.gas.jpbc
-
This element represents a polynomial through its coefficients.
- pow(BigInteger) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this = this^n.
- pow(BigInteger) - Method in interface it.unisa.dia.gas.jpbc.ElementPow
-
Compute the power to n.
- pow(BigInteger) - Method in interface it.unisa.dia.gas.jpbc.ElementPowPreProcessing
-
Compute the power to n using the pre-processed information.
- powZn(Element) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this = this^n, where n is an element of a ring Z_N for some N
(typically the order of the algebraic structure n lies in).
- powZn(Element) - Method in interface it.unisa.dia.gas.jpbc.ElementPow
-
Compute the power to n, where n is an element of a ring Z_N for some N.
- powZn(Element) - Method in interface it.unisa.dia.gas.jpbc.ElementPowPreProcessing
-
Compute the power to n, where n is an element of a ring Z_N for some N,
using the pre-processed information,
- PreProcessing - Interface in it.unisa.dia.gas.jpbc
-
Common interface for all pre-processing interfaces.
- set(Element) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this element to value.
- set(int) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this element to value.
- set(BigInteger) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this element to value.
- setFromBytes(byte[]) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Reads this element from the buffer source.
- setFromBytes(byte[], int) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Reads this element from the buffer source starting from offset.
- setFromBytesCompressed(byte[]) - Method in interface it.unisa.dia.gas.jpbc.Point
-
Reads this element from the buffer source.
- setFromBytesCompressed(byte[], int) - Method in interface it.unisa.dia.gas.jpbc.Point
-
Reads the x-coordinate from the buffer source staring from the passed offset.
- setFromBytesX(byte[]) - Method in interface it.unisa.dia.gas.jpbc.Point
-
Reads the x-coordinate from the buffer source.
- setFromBytesX(byte[], int) - Method in interface it.unisa.dia.gas.jpbc.Point
-
Reads the x-coordinate from the buffer source staring from the passed offset.
- setFromHash(byte[], int, int) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this element deterministically from the length bytes stored in the source parameter starting from the passed offset.
- setToOne() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this element to one.
- setToRandom() - Method in interface it.unisa.dia.gas.jpbc.Element
-
If this element lies in a finite algebraic structure, assigns a uniformly random element to it.
- setToZero() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this element to zero.
- sign() - Method in interface it.unisa.dia.gas.jpbc.Element
-
If this element is zero, returns 0.
- sqrt() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this = sqrt(this).
- square() - Method in interface it.unisa.dia.gas.jpbc.Element
-
Se this = this^2.
- sub(Element) - Method in interface it.unisa.dia.gas.jpbc.Element
-
Sets this = this - element.