HQCParameters (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.pqc.crypto.hqc

## Class HQCParameters

- java.lang.Object
- - org.bouncycastle.pqc.crypto.hqc.HQCParameters

- All Implemented Interfaces:
    CipherParameters, KEMParameters

      public class HQCParameters
      extends java.lang.Object
      implements KEMParameters

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static HQCParameters` | `hqc128`
    `static HQCParameters` | `hqc192`
    `static HQCParameters` | `hqc256`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getEncapsulationLength()`
    `java.lang.String` | `getName()`
    `int` | `getPublicKeyBytes()`
    `int` | `getSecretKeyBytes()`
    `int` | `getSecretLength()`
    `int` | `getSessionKeySize()`

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

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

- - ### Field Detail

    - #### hqc128

          public static final HQCParameters hqc128

    - #### hqc192

          public static final HQCParameters hqc192

    - #### hqc256

          public static final HQCParameters hqc256

  - ### Method Detail

    - #### getEncapsulationLength

          public int getEncapsulationLength()

    - #### getSessionKeySize

          public int getSessionKeySize()

    - #### getName

          public java.lang.String getName()

    - #### getPublicKeyBytes

          public int getPublicKeyBytes()

    - #### getSecretKeyBytes

          public int getSecretKeyBytes()

    - #### getSecretLength

          public int getSecretLength()