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

org.bouncycastle.crypto.agreement.kdf

## Class DHKDFParameters

- java.lang.Object
- - org.bouncycastle.crypto.agreement.kdf.DHKDFParameters

- All Implemented Interfaces:
    DerivationParameters

      public class DHKDFParameters
      extends java.lang.Object
      implements DerivationParameters

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DHKDFParameters(ASN1ObjectIdentifier algorithm, int keySize, byte[] z)`
    `DHKDFParameters(ASN1ObjectIdentifier algorithm, int keySize, byte[] z, byte[] extraInfo)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ASN1ObjectIdentifier` | `getAlgorithm()`
    `byte[]` | `getExtraInfo()`
    `int` | `getKeySize()`
    `byte[]` | `getZ()`

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

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

- - ### Constructor Detail

    - #### DHKDFParameters

          public DHKDFParameters(ASN1ObjectIdentifier algorithm,
                                 int keySize,
                                 byte[] z)

    - #### DHKDFParameters

          public DHKDFParameters(ASN1ObjectIdentifier algorithm,
                                 int keySize,
                                 byte[] z,
                                 byte[] extraInfo)

  - ### Method Detail

    - #### getAlgorithm

          public ASN1ObjectIdentifier getAlgorithm()

    - #### getKeySize

          public int getKeySize()

    - #### getZ

          public byte[] getZ()

    - #### getExtraInfo

          public byte[] getExtraInfo()