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

org.bouncycastle.crypto.params

## Class ParametersWithUKM

- java.lang.Object
- - org.bouncycastle.crypto.params.ParametersWithUKM

- All Implemented Interfaces:
    CipherParameters

      public class ParametersWithUKM
      extends java.lang.Object
      implements CipherParameters

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParametersWithUKM(CipherParameters parameters, byte[] ukm)`
    `ParametersWithUKM(CipherParameters parameters, byte[] ukm, int ukmOff, int ukmLen)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `CipherParameters` | `getParameters()`
    `byte[]` | `getUKM()`

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

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

- - ### Constructor Detail

    - #### ParametersWithUKM

          public ParametersWithUKM(CipherParameters parameters,
                                   byte[] ukm)

    - #### ParametersWithUKM

          public ParametersWithUKM(CipherParameters parameters,
                                   byte[] ukm,
                                   int ukmOff,
                                   int ukmLen)

  - ### Method Detail

    - #### getUKM

          public byte[] getUKM()

    - #### getParameters

          public CipherParameters getParameters()