Top Fields Constructors Methods
org.bouncycastle.pqc.asn1

public Class McEliecePrivateKey

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DEROctetString, .DERSequence, org.bouncycastle.pqc.legacy.math.linearalgebra.GF2Matrix, .GF2mField, .Permutation, .PolynomialGF2mSmallM

Field Summary

Modifier and TypeField and Description
private byte[]
private byte[]
private byte[]
private byte[]
private byte[]
private int
k

private int
n

Constructor Summary

AccessConstructor and Description
public
McEliecePrivateKey(int n, int k, GF2mField field, PolynomialGF2mSmallM goppaPoly, Permutation p1, Permutation p2, GF2Matrix sInv)

private

Method Summary

Modifier and TypeMethod and Description
public GF2mField
public PolynomialGF2mSmallM
public static McEliecePrivateKey
public int
getK()

public int
getN()

public Permutation
public Permutation
public GF2Matrix
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

encFieldback to summary
private byte[] encField
encGpback to summary
private byte[] encGp
encP1back to summary
private byte[] encP1
encP2back to summary
private byte[] encP2
encSInvback to summary
private byte[] encSInv
kback to summary
private int k
nback to summary
private int n

Constructor Detail

McEliecePrivateKeyback to summary
public McEliecePrivateKey(int n, int k, GF2mField field, PolynomialGF2mSmallM goppaPoly, Permutation p1, Permutation p2, GF2Matrix sInv)
McEliecePrivateKeyback to summary
private McEliecePrivateKey(ASN1Sequence seq)

Method Detail

getFieldback to summary
public GF2mField getField()
getGoppaPolyback to summary
public PolynomialGF2mSmallM getGoppaPoly()
getInstanceback to summary
public static McEliecePrivateKey getInstance(Object o)
getKback to summary
public int getK()
getNback to summary
public int getN()
getP1back to summary
public Permutation getP1()
getP2back to summary
public Permutation getP2()
getSInvback to summary
public GF2Matrix getSInv()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.