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 GF2mFieldgetField()PolynomialGF2mSmallMgetGoppaPoly()static McEliecePrivateKeygetInstance(java.lang.Object o)intgetK()intgetN()PermutationgetP1()PermutationgetP2()GF2MatrixgetSInv()ASN1PrimitivetoASN1Primitive()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:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
-