public class RainbowParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
Constructor and Description |
---|
RainbowParameterSpec()
Default Constructor The elements of the array containing the number of
Vinegar variables in each layer are set to the default values here.
|
RainbowParameterSpec(int[] vi)
Constructor with parameters
|
Modifier and Type | Method and Description |
---|---|
int |
getDocumentLength()
Getter for the number of all the polynomials in Rainbow
|
int |
getNumOfLayers()
Getter for the number of layers
|
int[] |
getVi()
Getter for the array containing the number of Vinegar-variables per layer
|
public RainbowParameterSpec()
public RainbowParameterSpec(int[] vi)
vi
- The elements of the array containing the number of Vinegar
variables per layer are set to the values of the input array.java.lang.IllegalArgumentException
- if the variables are invalid.public int getNumOfLayers()
public int getDocumentLength()
public int[] getVi()