Class AlgorithmParameterSpecFactory
- java.lang.Object
-
- io.github.astrapi69.crypt.data.factory.AlgorithmParameterSpecFactory
-
public final class AlgorithmParameterSpecFactory extends java.lang.Object
The factory classAlgorithmParameterSpecFactory
holds methods for creatingAlgorithmParameterSpec
objects.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.security.spec.AlgorithmParameterSpec
newPBEParameterSpec(byte[] salt, int iterationCount)
Factory method for creating a newPBEParameterSpec
from the given salt and iteration count.
-
-
-
Method Detail
-
newPBEParameterSpec
public static java.security.spec.AlgorithmParameterSpec newPBEParameterSpec(byte[] salt, int iterationCount)
Factory method for creating a newPBEParameterSpec
from the given salt and iteration count.- Parameters:
salt
- the saltiterationCount
- the iteration count- Returns:
- the new
PBEParameterSpec
from the given salt and iteration count.
-
-