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,
org.spongycastle.pqc.math.linearalgebra.GF2Matrix g)
Constructor (used by
McElieceKeyFactorySpi). |
| Modifier and Type | Method and Description |
|---|---|
org.spongycastle.pqc.math.linearalgebra.GF2Matrix |
getG() |
int |
getN() |
java.lang.String |
getOIDString() |
int |
getT() |
public McEliecePublicKeySpec(java.lang.String oid,
int n,
int t,
org.spongycastle.pqc.math.linearalgebra.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 matrix