public class RainbowParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
More detailed information about the needed parameters for the Rainbow Signature Scheme is to be found in the paper of Jintai Ding, Dieter Schmidt: Rainbow, a New Multivariable Polynomial Signature Scheme. ACNS 2005: 164-175 (http://dx.doi.org/10.1007/11496137_12)
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()