public class McElieceCCA2PublicKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
BCMcElieceCCA2PublicKey| Constructor and Description |
|---|
McElieceCCA2PublicKeySpec(java.lang.String oid,
int n,
int t,
byte[] encMatrix)
Constructor (used by
McElieceKeyFactorySpi). |
McElieceCCA2PublicKeySpec(java.lang.String oid,
int n,
int t,
GF2Matrix matrix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GF2Matrix |
getMatrixG() |
int |
getN() |
java.lang.String |
getOIDString() |
int |
getT() |
public McElieceCCA2PublicKeySpec(java.lang.String oid,
int n,
int t,
GF2Matrix matrix)
n - length of the codet - error correction capabilitymatrix - generator matrixpublic McElieceCCA2PublicKeySpec(java.lang.String oid,
int n,
int t,
byte[] encMatrix)
McElieceKeyFactorySpi).n - length of the codet - error correction capability of the codeencMatrix - encoded generator matrixpublic int getN()
public int getT()
public GF2Matrix getMatrixG()
public java.lang.String getOIDString()