Home | History | Annotate | Download | only in spec

Lines Matching refs:salt

32     private final byte[] salt;
36 * Creates a new <code>PBEParameterSpec</code> with the specified salt and
39 * @param salt
40 * the salt.
44 * if salt is null.
46 public PBEParameterSpec(byte[] salt, int iterationCount) {
47 if (salt == null) {
48 throw new NullPointerException("salt == null");
50 this.salt = new byte[salt.length];
51 System.arraycopy(salt, 0, this.salt, 0, salt.length);
56 * Returns a copy to the salt.
58 * @return a copy to the salt.
61 byte[] result = new byte[salt.length];
62 System.arraycopy(salt, 0, result, 0, salt.length);