org.bouncycastle.crypto.params

## Class ParametersWithContext

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

- All Implemented Interfaces:
    CipherParameters

      public class ParametersWithContext
      extends Object
      implements CipherParameters

  Cipher parameters with associated context data. Wraps cipher parameters with additional context information for cryptographic operations.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParametersWithContext(CipherParameters parameters, byte[] context)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `copyContextTo(byte[] buf, int off, int len)`
    `byte[]` | `getContext()`
    `int` | `getContextLength()`
    `CipherParameters` | `getParameters()`

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

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

- - ### Constructor Detail

    - #### ParametersWithContext

          public ParametersWithContext(CipherParameters parameters,
                                       byte[] context)

  - ### Method Detail

    - #### copyContextTo

          public void copyContextTo(byte[] buf,
                                    int off,
                                    int len)

    - #### getContext

          public byte[] getContext()

    - #### getContextLength

          public int getContextLength()

    - #### getParameters

          public CipherParameters getParameters()