Package org.bouncycastle.crypto.params
Class ParametersWithSalt
- java.lang.Object
-
- org.bouncycastle.crypto.params.ParametersWithSalt
-
- All Implemented Interfaces:
CipherParameters
public class ParametersWithSalt extends java.lang.Object implements CipherParameters
Cipher parameters with a fixed salt value associated with them.
-
-
Constructor Summary
Constructors Constructor Description ParametersWithSalt(CipherParameters parameters, byte[] salt)
ParametersWithSalt(CipherParameters parameters, byte[] salt, int saltOff, int saltLen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CipherParameters
getParameters()
byte[]
getSalt()
-
-
-
Constructor Detail
-
ParametersWithSalt
public ParametersWithSalt(CipherParameters parameters, byte[] salt)
-
ParametersWithSalt
public ParametersWithSalt(CipherParameters parameters, byte[] salt, int saltOff, int saltLen)
-
-
Method Detail
-
getSalt
public byte[] getSalt()
-
getParameters
public CipherParameters getParameters()
-
-