Class RainbowParameters
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.rainbow.RainbowParameters
-
- All Implemented Interfaces:
CipherParameters
public class RainbowParameters extends java.lang.Object implements CipherParameters
-
-
Constructor Summary
Constructors Constructor Description RainbowParameters()
Default Constructor The elements of the array containing the number of Vinegar variables in each layer are set to the default values here.RainbowParameters(int[] vi)
Constructor with parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDocLength()
Getter for the number of all the polynomials in Rainbowint
getNumOfLayers()
Getter for the number of layersint[]
getVi()
Getter for the array containing the number of Vinegar-variables per layer
-
-
-
Constructor Detail
-
RainbowParameters
public RainbowParameters()
Default Constructor The elements of the array containing the number of Vinegar variables in each layer are set to the default values here.
-
RainbowParameters
public RainbowParameters(int[] vi)
Constructor with parameters- Parameters:
vi
- The elements of the array containing the number of Vinegar variables per layer are set to the values of the input array.
-
-
Method Detail
-
getNumOfLayers
public int getNumOfLayers()
Getter for the number of layers- Returns:
- the number of layers
-
getDocLength
public int getDocLength()
Getter for the number of all the polynomials in Rainbow- Returns:
- the number of the polynomials
-
getVi
public int[] getVi()
Getter for the array containing the number of Vinegar-variables per layer- Returns:
- the numbers of vinegars per layer
-
-