public class McEliecePublicKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
BCMcEliecePublicKey| Constructor and Description |
|---|
McEliecePublicKeySpec(java.lang.String oid,
int t,
int n,
byte[] encG)
Constructor (used by
McElieceKeyFactorySpi). |
McEliecePublicKeySpec(java.lang.String oid,
int n,
int t,
GF2Matrix g)
Constructor (used by
McElieceKeyFactorySpi). |
| Modifier and Type | Method and Description |
|---|---|
GF2Matrix |
getG() |
int |
getN() |
java.lang.String |
getOIDString() |
int |
getT() |
public McEliecePublicKeySpec(java.lang.String oid,
int n,
int t,
GF2Matrix g)
McElieceKeyFactorySpi).oid - n - the length of the codet - the error correction capability of the codeg - the generator matrixpublic McEliecePublicKeySpec(java.lang.String oid,
int t,
int n,
byte[] encG)
McElieceKeyFactorySpi).oid - n - the length of the codet - the error correction capability of the codeencG - the encoded generator matrixpublic int getN()
public int getT()
public GF2Matrix getG()
public java.lang.String getOIDString()