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

org.bouncycastle.pqc.crypto.faest

## Class FaestPrivateKeyParameters

- java.lang.Object
- - org.bouncycastle.crypto.params.AsymmetricKeyParameter
  - - org.bouncycastle.pqc.crypto.faest.FaestPrivateKeyParameters

- All Implemented Interfaces:
    CipherParameters

      public class FaestPrivateKeyParameters
      extends AsymmetricKeyParameter

  FAEST private key: encoded as `owfInput || owfKey` (matching the upstream `SK_INPUT || SK_KEY` layout). Length matches `FaestParameters.getSkSize()`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FaestPrivateKeyParameters(FaestParameters parameters, byte[] privateKey)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getEncoded()`
    `FaestParameters` | `getParameters()`
    `byte[]` | `getPrivateKey()`

    - ### Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter

      `isPrivate`

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

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

- - ### Constructor Detail

    - #### FaestPrivateKeyParameters

          public FaestPrivateKeyParameters(FaestParameters parameters,
                                           byte[] privateKey)

  - ### Method Detail

    - #### getPrivateKey

          public byte[] getPrivateKey()

    - #### getEncoded

          public byte[] getEncoded()

    - #### getParameters

          public FaestParameters getParameters()