public class UserKeyingMaterialSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
Constructor and Description |
---|
UserKeyingMaterialSpec(byte[] userKeyingMaterial)
Base constructor.
|
UserKeyingMaterialSpec(byte[] userKeyingMaterial,
byte[] salt)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getSalt()
Return a copy of the salt in this object.
|
byte[] |
getUserKeyingMaterial()
Return a copy of the key material in this object.
|
public UserKeyingMaterialSpec(byte[] userKeyingMaterial)
userKeyingMaterial
- the bytes to be mixed in to the key agreement's KDF.public UserKeyingMaterialSpec(byte[] userKeyingMaterial, byte[] salt)
userKeyingMaterial
- the bytes to be mixed in to the key agreement's KDF.salt
- the salt to use with the underlying KDF.