public class McEliecePrivateKeyParameters extends McElieceKeyParameters
| Constructor and Description |
|---|
McEliecePrivateKeyParameters(java.lang.String oid,
int n,
int k,
byte[] encField,
byte[] encGoppaPoly,
byte[] encSInv,
byte[] encP1,
byte[] encP2,
byte[] encH,
byte[][] encQInv,
McElieceParameters params)
Constructor (used by the
McElieceKeyFactory). |
McEliecePrivateKeyParameters(java.lang.String oid,
int n,
int k,
GF2mField field,
PolynomialGF2mSmallM goppaPoly,
GF2Matrix sInv,
Permutation p1,
Permutation p2,
GF2Matrix h,
PolynomialGF2mSmallM[] qInv,
McElieceParameters params)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GF2mField |
getField() |
PolynomialGF2mSmallM |
getGoppaPoly() |
GF2Matrix |
getH() |
int |
getK() |
int |
getN() |
java.lang.String |
getOIDString() |
Permutation |
getP1() |
Permutation |
getP2() |
PolynomialGF2mSmallM[] |
getQInv() |
GF2Matrix |
getSInv() |
getParametersisPrivatepublic McEliecePrivateKeyParameters(java.lang.String oid,
int n,
int k,
GF2mField field,
PolynomialGF2mSmallM goppaPoly,
GF2Matrix sInv,
Permutation p1,
Permutation p2,
GF2Matrix h,
PolynomialGF2mSmallM[] qInv,
McElieceParameters params)
oid - n - the length of the codek - the dimension of the codefield - the field polynomial defining the finite field
GF(2m)goppaPoly - the irreducible Goppa polynomialsInv - the matrix S-1p1 - the permutation used to generate the systematic check
matrixp2 - the permutation used to compute the public generator
matrixh - the canonical check matrixqInv - the matrix used to compute square roots in
(GF(2m))tparams - McElieceParameterspublic McEliecePrivateKeyParameters(java.lang.String oid,
int n,
int k,
byte[] encField,
byte[] encGoppaPoly,
byte[] encSInv,
byte[] encP1,
byte[] encP2,
byte[] encH,
byte[][] encQInv,
McElieceParameters params)
McElieceKeyFactory).oid - n - the length of the codek - the dimension of the codeencField - the encoded field polynomial defining the finite field
GF(2m)encGoppaPoly - the encoded irreducible Goppa polynomialencSInv - the encoded matrix S-1encP1 - the encoded permutation used to generate the systematic
check matrixencP2 - the encoded permutation used to compute the public
generator matrixencH - the encoded canonical check matrixencQInv - the encoded matrix used to compute square roots in
(GF(2m))tparams - McElieceParameterspublic int getN()
public int getK()
public GF2mField getField()
public PolynomialGF2mSmallM getGoppaPoly()
public GF2Matrix getSInv()
public Permutation getP1()
public Permutation getP2()
public GF2Matrix getH()
public PolynomialGF2mSmallM[] getQInv()
public java.lang.String getOIDString()