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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
McEliecePrivateKey
public McEliecePrivateKey(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM goppaPoly,
Permutation p1,
Permutation p2,
GF2Matrix sInv)
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 interface ASN1Encodable
- Specified by:
toASN1Primitive
in class ASN1Object
- Returns:
- a primitive representation of this object.