this.password = password; this.salt = salt; this.iterationCount = iterationCount;
this(password, pbeSpec.getSalt(), pbeSpec.getIterationCount());
return "PKCS5S2";
return null;
return "RAW";
return iterationCount;
try { return algParams.getParameterSpec(PBEParameterSpec.class); } catch (InvalidParameterSpecException e) { throw new InvalidAlgorithmParameterException("cannot process PBE spec: " + e.getMessage()); }
return password;
return salt;