| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static char[] | |
| public static byte[] | |
| public static PBEKeySpec |
| PBEUtil | back to summary |
|---|---|
| public PBEUtil() | |
| decodePassword | back to summary |
|---|---|
| private static char[] decodePassword(byte[] passwdBytes) | |
| encodePassword | back to summary |
|---|---|
| public static byte[] encodePassword(char[] passwd) | |
| getPBAKeySpec | back to summary |
|---|---|
| public static PBEKeySpec getPBAKeySpec(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException | |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private int | |
| private IvParameterSpec | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static byte[] | |
| private static int | |
| public AlgorithmParameters | |
| public IvParameterSpec | |
| public static AlgorithmParameterSpec | |
| public PBEKeySpec | getPBEKeySpec(int blkSize, int keyLength, int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
|
| public void | initialize(int blkSize, int opmode, int iCount, byte[] salt, AlgorithmParameterSpec ivSpec, SecureRandom random)
|
| DEFAULT_ITERATIONS | back to summary |
|---|---|
| private static final int DEFAULT_ITERATIONS | |
| DEFAULT_SALT_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_SALT_LENGTH | |
| iCount | back to summary |
|---|---|
| private int iCount | |
| ivSpec | back to summary |
|---|---|
| private IvParameterSpec ivSpec | |
| salt | back to summary |
|---|---|
| private byte[] salt | |
| PBES2Params | back to summary |
|---|---|
| public PBES2Params() | |
| check | back to summary |
|---|---|
| private static byte[] check(byte[] salt) throws InvalidAlgorithmParameterException | |
| check | back to summary |
|---|---|
| private static int check(int iCount) throws InvalidAlgorithmParameterException | |
| getAlgorithmParameters | back to summary |
|---|---|
| public AlgorithmParameters getAlgorithmParameters(int blkSize, String pbeAlgo, Provider algParamsProv, SecureRandom random) | |
| getIvSpec | back to summary |
|---|---|
| public IvParameterSpec getIvSpec() | |
| getParameterSpec | back to summary |
|---|---|
| public static AlgorithmParameterSpec getParameterSpec(AlgorithmParameters params) throws InvalidAlgorithmParameterException | |
| getPBEKeySpec | back to summary |
|---|---|
| public PBEKeySpec getPBEKeySpec(int blkSize, int keyLength, int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException | |
| initialize | back to summary |
|---|---|
| public void initialize(int blkSize, int opmode, int iCount, byte[] salt, AlgorithmParameterSpec ivSpec, SecureRandom random) throws InvalidAlgorithmParameterException | |