McElieceCCA2PrivateKey (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.pqc.asn1

## Class McElieceCCA2PrivateKey

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.pqc.asn1.McElieceCCA2PrivateKey

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class McElieceCCA2PrivateKey
      extends ASN1Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `McElieceCCA2PrivateKey(ASN1ObjectIdentifier oid, int n, int k, GF2mField field, PolynomialGF2mSmallM goppaPoly, Permutation p, GF2Matrix h, PolynomialGF2mSmallM[] qInv)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `GF2mField` | `getField()`
    `PolynomialGF2mSmallM` | `getGoppaPoly()`
    `GF2Matrix` | `getH()`
    `static McElieceCCA2PrivateKey` | `getInstance(java.lang.Object o)`
    `int` | `getK()`
    `int` | `getN()`
    `ASN1ObjectIdentifier` | `getOID()`
    `Permutation` | `getP()`
    `PolynomialGF2mSmallM[]` | `getQInv()`
    `ASN1Primitive` | `toASN1Primitive()` Method providing a primitive representation of this object suitable for encoding.

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### McElieceCCA2PrivateKey

          public McElieceCCA2PrivateKey(ASN1ObjectIdentifier oid,
                                int n,
                                int k,
                                GF2mField field,
                                PolynomialGF2mSmallM goppaPoly,
                                Permutation p,
                                GF2Matrix h,
                                PolynomialGF2mSmallM[] qInv)

  - ### Method Detail

    - #### getOID

          public ASN1ObjectIdentifier getOID()

    - #### getN

          public int getN()

    - #### getK

          public int getK()

    - #### getField

          public GF2mField getField()

    - #### getGoppaPoly

          public PolynomialGF2mSmallM getGoppaPoly()

    - #### getP

          public Permutation getP()

    - #### getH

          public GF2Matrix getH()

    - #### getQInv

          public PolynomialGF2mSmallM[] getQInv()

    - #### 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.

    - #### getInstance

          public static McElieceCCA2PrivateKey getInstance(java.lang.Object o)