public class McEliecePublicKeyParameters extends McElieceKeyParameters
Constructor and Description |
---|
McEliecePublicKeyParameters(int n,
int t,
GF2Matrix g)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
GF2Matrix |
getG() |
int |
getK() |
int |
getN() |
int |
getT() |
getParameters
isPrivate
public McEliecePublicKeyParameters(int n, int t, GF2Matrix g)
n
- the length of the codet
- the error correction capability of the codeg
- the generator matrixpublic int getN()
public int getT()
public GF2Matrix getG()
public int getK()