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
Wrapper class for parameters which include User Keying Material (UKM).
Combined with a ParametersWithRandom, this goes on the outside:
. The UKM is consumed by the wrap engine or key
agreement, and anything inside it is passed on.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParametersWithUKM
public ParametersWithUKM(CipherParameters parameters,
byte[] ukm)
ParametersWithUKM
public ParametersWithUKM(CipherParameters parameters,
byte[] ukm,
int ukmOff,
int ukmLen)
getUKM
public byte[] getUKM()
getParameters
public CipherParameters getParameters()