public class PBEGenParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
PBEParameterGenerator,
PBEParameters| Constructor and Description |
|---|
PBEGenParameterSpec(int saltLength,
int iterationCount)
Specifies the PBE key generation parameters, using a salt length and an
iteration count.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIterationCount()
Returns the number of iterations when generating the key and the
initialization vector (IV).
|
int |
getSaltLength()
Returns the length of the salt in bytes.
|
public PBEGenParameterSpec(int saltLength,
int iterationCount)
saltLength - the length of the salt in bytesiterationCount - the number of iterationspublic int getSaltLength()
public int getIterationCount()