public class McEliecePublicKeyParameters extends McElieceKeyParameters
| Constructor and Description |
|---|
McEliecePublicKeyParameters(java.lang.String oid,
int t,
int n,
byte[] encG,
McElieceParameters params)
Constructor.
|
McEliecePublicKeyParameters(java.lang.String oid,
int n,
int t,
GF2Matrix g,
McElieceParameters params)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GF2Matrix |
getG() |
int |
getK() |
int |
getN() |
java.lang.String |
getOIDString() |
int |
getT() |
getParametersisPrivatepublic McEliecePublicKeyParameters(java.lang.String oid,
int n,
int t,
GF2Matrix g,
McElieceParameters params)
oid - string representation of the OID for this key.n - the length of the codet - the error correction capability of the codeg - the generator matrixparams - McElieceParameterspublic McEliecePublicKeyParameters(java.lang.String oid,
int t,
int n,
byte[] encG,
McElieceParameters params)
oid - n - the length of the codet - the error correction capability of the codeencG - the encoded generator matrixparams - McElieceParameterspublic int getN()
public int getT()
public GF2Matrix getG()
public java.lang.String getOIDString()
public int getK()