|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.flexiprovider.pqc.rainbow.RainbowPrivateKeySpec
This class provides a specification for a RainbowSignature private key.
RainbowPrivateKey,
KeySpec| Constructor Summary | |
protected |
RainbowPrivateKeySpec(java.lang.String oid,
byte[][] A1inv,
byte[] b1,
byte[][] A2inv,
byte[] b2,
byte[] vi,
byte[][][][] coeff_alpha,
byte[][][][] coeff_beta,
byte[][][] coeff_gamma,
byte[][] coeff_eta)
Constructor used by the RainbowKeyFactory. |
protected |
RainbowPrivateKeySpec(java.lang.String oid,
short[][] A1inv,
short[] b1,
short[][] A2inv,
short[] b2,
int[] vi,
Layer[] layers)
Constructor |
| Method Summary | |
protected short[][] |
getA1inv()
Getter for the inverse matrix of A1. |
protected short[][] |
getA2inv()
Getter for the inverse matrix of A2 |
java.lang.String |
getAlgorithm()
|
protected short[] |
getb1()
Getter for the translation part of the private quadratic map L1. |
protected short[] |
getb2()
Getter for the translation part of the private quadratic map L2. |
protected Layer[] |
getLayers()
Returns the layers contained in the private key |
java.lang.String |
getOIDString()
|
protected int[] |
getVi()
/** Returns the array of vi-s |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
protected RainbowPrivateKeySpec(java.lang.String oid,
short[][] A1inv,
short[] b1,
short[][] A2inv,
short[] b2,
int[] vi,
Layer[] layers)
oid - the OID of the algorithmA1inv - the inverse of A1(the matrix part of the affine linear map L1)
(n-v1 x n-v1 matrix)b1 - translation vector, part of the linear affine map L1A2inv - the inverse of A2(the matrix part of the affine linear map L2)
(n x n matrix)b2 - translation vector, part of the linear affine map L2vi - the number of Vinegar-variables per layerlayers - the polynomials with their coefficients of private map F
protected RainbowPrivateKeySpec(java.lang.String oid,
byte[][] A1inv,
byte[] b1,
byte[][] A2inv,
byte[] b2,
byte[] vi,
byte[][][][] coeff_alpha,
byte[][][][] coeff_beta,
byte[][][] coeff_gamma,
byte[][] coeff_eta)
RainbowKeyFactory. It constructs internal
data types out of these bytes got from ASN.1 decoding.oid - the OID of the algorithmA1inv - the inverse of A1(the matrix part of the affine linear map L1)
(n-v1 x n-v1 matrix) (in bytes)b1 - translation vector, part of the linear affine map L1 (in
bytes)A2inv - the inverse of A2(the matrix part of the affine linear map L2)
(n x n matrix) (in bytes)b2 - translation vector, part of the linear affine map L1 (in
bytes)vi - number of Vinegar-variables per layer (in bytes)coeff_alpha - alpha-coefficients of the polynomials in this layer (in bytes)coeff_beta - beta-coefficients of the polynomials in this layer (in bytes)coeff_gamma - gamma-coefficients of the polynomials in this layer (in bytes)coeff_eta - eta-coefficients of the polynomials in this layer (in bytes)| Method Detail |
public final java.lang.String getAlgorithm()
public java.lang.String getOIDString()
protected short[] getb1()
protected short[][] getA1inv()
protected short[] getb2()
protected short[][] getA2inv()
protected Layer[] getLayers()
protected int[] getVi()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||