Package org.bouncycastle.jcajce.spec
Class UserKeyingMaterialSpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.UserKeyingMaterialSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class UserKeyingMaterialSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec
-
-
Constructor Summary
Constructors Constructor Description UserKeyingMaterialSpec(byte[] userKeyingMaterial)
Base constructor.UserKeyingMaterialSpec(byte[] userKeyingMaterial, byte[] salt)
Base constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getSalt()
Return a copy of the salt in this object.byte[]
getUserKeyingMaterial()
Return a copy of the key material in this object.
-
-
-
Constructor Detail
-
UserKeyingMaterialSpec
public UserKeyingMaterialSpec(byte[] userKeyingMaterial)
Base constructor.- Parameters:
userKeyingMaterial
- the bytes to be mixed in to the key agreement's KDF.
-
UserKeyingMaterialSpec
public UserKeyingMaterialSpec(byte[] userKeyingMaterial, byte[] salt)
Base constructor.- Parameters:
userKeyingMaterial
- the bytes to be mixed in to the key agreement's KDF.salt
- the salt to use with the underlying KDF.
-
-