KDFParameters (Java SE 25 & JDK 25)
Description: declaration: module: java.base, package: javax.crypto, interface: KDFParameters
Keywords: javax.crypto.KDFParameters interface

# Interface KDFParameters

public interface KDFParameters
A specification of Key Derivation Function (`KDF`) parameters.

The purpose of this interface is to group (and provide type safety for) all `KDF` parameter specifications. All `KDF` parameter specifications must implement this interface.

When supplied, the `KDF.getInstance` methods return a `KDF` that is initialized with the specified parameters.

The `KDFParameters` used for initialization are returned by `KDF.getParameters()` and may contain additional default or random parameter values used by the underlying KDF implementation.

Since:
  25
See Also:
  - `KDF.getInstance(String, KDFParameters)`
  - `KDF.getParameters()`
  - `KDF`