|
Bouncy Castle Cryptography Library 1.48 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.jcajce.spec.RainbowParameterSpec
public class RainbowParameterSpec
This class provides methods for setting and getting the Rainbow-parameters like number of Vinegar-variables in the layers, number of layers and so on.
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 Summary | |
---|---|
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 |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public int getNumOfLayers()
public int getDocumentLength()
public int[] getVi()
|
Bouncy Castle Cryptography Library 1.48 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |