Class ParametersWithUKM

java.lang.Object
org.bouncycastle.crypto.params.ParametersWithUKM
All Implemented Interfaces:
CipherParameters

public class ParametersWithUKM extends Object implements CipherParameters
Wrapper class for parameters which include User Keying Material (UKM).

Combined with a ParametersWithRandom, this goes on the outside: ParametersWithUKM(ParametersWithRandom(key)). The UKM is consumed by the wrap engine or key agreement, and anything inside it is passed on.

  • Constructor Details

    • ParametersWithUKM

      public ParametersWithUKM(CipherParameters parameters, byte[] ukm)
    • ParametersWithUKM

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

    • getUKM

      public byte[] getUKM()
    • getParameters

      public CipherParameters getParameters()