public class McEliecePrivateKey extends ASN1Object
Constructor and Description |
---|
McEliecePrivateKey(int n,
int k,
org.bouncycastle.pqc.legacy.math.linearalgebra.GF2mField field,
org.bouncycastle.pqc.legacy.math.linearalgebra.PolynomialGF2mSmallM goppaPoly,
org.bouncycastle.pqc.legacy.math.linearalgebra.Permutation p1,
org.bouncycastle.pqc.legacy.math.linearalgebra.Permutation p2,
org.bouncycastle.pqc.legacy.math.linearalgebra.GF2Matrix sInv) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.pqc.legacy.math.linearalgebra.GF2mField |
getField() |
org.bouncycastle.pqc.legacy.math.linearalgebra.PolynomialGF2mSmallM |
getGoppaPoly() |
static McEliecePrivateKey |
getInstance(java.lang.Object o) |
int |
getK() |
int |
getN() |
org.bouncycastle.pqc.legacy.math.linearalgebra.Permutation |
getP1() |
org.bouncycastle.pqc.legacy.math.linearalgebra.Permutation |
getP2() |
org.bouncycastle.pqc.legacy.math.linearalgebra.GF2Matrix |
getSInv() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public McEliecePrivateKey(int n, int k, org.bouncycastle.pqc.legacy.math.linearalgebra.GF2mField field, org.bouncycastle.pqc.legacy.math.linearalgebra.PolynomialGF2mSmallM goppaPoly, org.bouncycastle.pqc.legacy.math.linearalgebra.Permutation p1, org.bouncycastle.pqc.legacy.math.linearalgebra.Permutation p2, org.bouncycastle.pqc.legacy.math.linearalgebra.GF2Matrix sInv)
public static McEliecePrivateKey getInstance(java.lang.Object o)
public int getN()
public int getK()
public org.bouncycastle.pqc.legacy.math.linearalgebra.GF2mField getField()
public org.bouncycastle.pqc.legacy.math.linearalgebra.PolynomialGF2mSmallM getGoppaPoly()
public org.bouncycastle.pqc.legacy.math.linearalgebra.GF2Matrix getSInv()
public org.bouncycastle.pqc.legacy.math.linearalgebra.Permutation getP1()
public org.bouncycastle.pqc.legacy.math.linearalgebra.Permutation getP2()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object