org.bouncycastle.pqc.legacy.crypto.gmss.GMSSKeyPairGenerator
| Modifier and Type | Field and Description |
|---|---|
| private int[] | heightOfTrees
The height of the authentication trees of each layer. |
| private int[] | K
The parameter K needed for the authentication path computation |
| private int | numOfLayers
The number of authentication tree layers. |
| private int[] | winternitzParameter
The Winternitz Parameter 'w' of each layer. |
| Access | Constructor and Description |
|---|---|
| public | GMSSParameters(int
the number of authentication tree layers layers, int[] the height of the authentication trees heightOfTrees, int[] the Winternitz Parameter 'w' of each layer winternitzParameter, int[] parameter for authpath computation K)The constructor for the parameters of the GMSSKeyPairGenerator. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int[] | Returns: The array of height (for each layer) of the authentication treesReturns the array of height (for each layer) of the authentication trees |
| public int[] | Returns: The parameter K needed for authentication path computationReturns the parameter K needed for authentication path computation |
| public int | Returns: The number of levels of the authentication trees.Returns the number of levels of the authentication trees. |
| public int[] | Returns: The array of WinternitzParameter (for each layer) of the authentication treesReturns the array of WinternitzParameter (for each layer) of the authentication trees |
| private void |
| heightOfTrees | back to summary |
|---|---|
| private int[] heightOfTrees The height of the authentication trees of each layer. | |
| K | back to summary |
|---|---|
| private int[] K The parameter K needed for the authentication path computation | |
| numOfLayers | back to summary |
|---|---|
| private int numOfLayers The number of authentication tree layers. | |
| winternitzParameter | back to summary |
|---|---|
| private int[] winternitzParameter The Winternitz Parameter 'w' of each layer. | |
| GMSSParameters | back to summary |
|---|---|
| public GMSSParameters(int layers, int[] heightOfTrees, int[] winternitzParameter, int[] K) throws IllegalArgumentException The constructor for the parameters of the GMSSKeyPairGenerator.
| |
| GMSSParameters | back to summary |
|---|---|
| public GMSSParameters(int keySize) throws IllegalArgumentException | |
| getHeightOfTrees | back to summary |
|---|---|
| public int[] getHeightOfTrees() Returns the array of height (for each layer) of the authentication trees
| |
| getK | back to summary |
|---|---|
| public int[] getK() Returns the parameter K needed for authentication path computation
| |
| getNumOfLayers | back to summary |
|---|---|
| public int getNumOfLayers() Returns the number of levels of the authentication trees.
| |
| getWinternitzParameter | back to summary |
|---|---|
| public int[] getWinternitzParameter() Returns the array of WinternitzParameter (for each layer) of the authentication trees
| |
| init | back to summary |
|---|---|
| private void init(int layers, int[] heightOfTrees, int[] winternitzParameter, int[] K) throws IllegalArgumentException | |