public class McElieceCCA2PrivateKeyParameters extends McElieceCCA2KeyParameters
Constructor and Description |
---|
McElieceCCA2PrivateKeyParameters(java.lang.String oid,
int n,
int k,
byte[] encFieldPoly,
byte[] encGoppaPoly,
byte[] encP,
byte[] encH,
byte[][] encQInv,
McElieceCCA2Parameters params)
Constructor.
|
McElieceCCA2PrivateKeyParameters(java.lang.String oid,
int n,
int k,
GF2mField field,
PolynomialGF2mSmallM gp,
Permutation p,
GF2Matrix h,
PolynomialGF2mSmallM[] qInv,
McElieceCCA2Parameters params)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
GF2mField |
getField() |
PolynomialGF2mSmallM |
getGoppaPoly() |
GF2Matrix |
getH() |
int |
getK() |
int |
getN() |
java.lang.String |
getOIDString() |
Permutation |
getP() |
PolynomialGF2mSmallM[] |
getQInv() |
int |
getT() |
getParameters
isPrivate
public McElieceCCA2PrivateKeyParameters(java.lang.String oid, int n, int k, GF2mField field, PolynomialGF2mSmallM gp, Permutation p, GF2Matrix h, PolynomialGF2mSmallM[] qInv, McElieceCCA2Parameters params)
n
- the length of the codek
- the dimension of the codefield
- the finite field GF(2m)gp
- the irreducible Goppa polynomialp
- the permutationh
- the canonical check matrixqInv
- the matrix used to compute square roots in
(GF(2^m))^tparams
- McElieceCCA2Parameterspublic McElieceCCA2PrivateKeyParameters(java.lang.String oid, int n, int k, byte[] encFieldPoly, byte[] encGoppaPoly, byte[] encP, byte[] encH, byte[][] encQInv, McElieceCCA2Parameters params)
n
- the length of the codek
- the dimension of the codeencFieldPoly
- the encoded field polynomial defining the finite field
GF(2m)encGoppaPoly
- the encoded irreducible Goppa polynomialencP
- the encoded permutationencH
- the encoded canonical check matrixencQInv
- the encoded matrix used to compute square roots in
(GF(2^m))^tparams
- McElieceCCA2Parameterspublic int getN()
public int getK()
public int getT()
public GF2mField getField()
public PolynomialGF2mSmallM getGoppaPoly()
public Permutation getP()
public GF2Matrix getH()
public PolynomialGF2mSmallM[] getQInv()
public java.lang.String getOIDString()