Package org.bouncycastle.pqc.asn1
Class McEliecePrivateKey
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.pqc.asn1.McEliecePrivateKey
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class McEliecePrivateKey extends ASN1Object
-
-
Constructor Summary
Constructors Constructor Description McEliecePrivateKey(int n, int k, GF2mField field, PolynomialGF2mSmallM goppaPoly, Permutation p1, Permutation p2, GF2Matrix sInv)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GF2mField
getField()
PolynomialGF2mSmallM
getGoppaPoly()
static McEliecePrivateKey
getInstance(java.lang.Object o)
int
getK()
int
getN()
Permutation
getP1()
Permutation
getP2()
GF2Matrix
getSInv()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
McEliecePrivateKey
public McEliecePrivateKey(int n, int k, GF2mField field, PolynomialGF2mSmallM goppaPoly, Permutation p1, Permutation p2, GF2Matrix sInv)
-
-
Method Detail
-
getInstance
public static McEliecePrivateKey getInstance(java.lang.Object o)
-
getN
public int getN()
-
getK
public int getK()
-
getField
public GF2mField getField()
-
getGoppaPoly
public PolynomialGF2mSmallM getGoppaPoly()
-
getSInv
public GF2Matrix getSInv()
-
getP1
public Permutation getP1()
-
getP2
public Permutation getP2()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
-