|
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.RainbowPrivateKeySpec
public class RainbowPrivateKeySpec
This class provides a specification for a RainbowSignature private key.
KeySpec
Constructor Summary | |
---|---|
RainbowPrivateKeySpec(short[][] A1inv,
short[] b1,
short[][] A2inv,
short[] b2,
int[] vi,
Layer[] layers)
Constructor |
Method Summary | |
---|---|
short[] |
getB1()
Getter for the translation part of the private quadratic map L1. |
short[] |
getB2()
Getter for the translation part of the private quadratic map L2. |
short[][] |
getInvA1()
Getter for the inverse matrix of A1. |
short[][] |
getInvA2()
Getter for the inverse matrix of A2 |
Layer[] |
getLayers()
Returns the layers contained in the private key |
int[] |
getVi()
/** Returns the array of vi-s |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RainbowPrivateKeySpec(short[][] A1inv, short[] b1, short[][] A2inv, short[] b2, int[] vi, Layer[] layers)
A1inv
- 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 FMethod Detail |
---|
public short[] getB1()
public short[][] getInvA1()
public short[] getB2()
public short[][] getInvA2()
public Layer[] getLayers()
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 |