Home | History | Annotate | Download | only in pkcs

Lines Matching refs:prf

28  *              prf AlgorithmIdentifier {{PBKDF2-PRFs}} DEFAULT algid-hmacWithSHA1 }
40 private final AlgorithmIdentifier prf;
65 * Create a PBKDF2Params with the specified salt, iteration count, and algid-hmacWithSHA1 for the prf.
78 * Create a PBKDF2Params with the specified salt, iteration count, keyLength, and algid-hmacWithSHA1 for the prf.
93 * Create a PBKDF2Params with the specified salt, iteration count, keyLength, and a defined prf.
98 * @param prf the pseudo-random function to use.
104 AlgorithmIdentifier prf)
118 this.prf = prf;
122 * Create a PBKDF2Params with the specified salt, iteration count, and a defined prf.
126 * @param prf the pseudo-random function to use.
131 AlgorithmIdentifier prf)
133 this(salt, iterationCount, 0, prf);
167 prf = AlgorithmIdentifier.getInstance(o);
171 prf = null;
177 prf = null;
217 * Return true if the PRF is the default (hmacWithSHA1)
219 * @return true if PRF is default, false otherwise.
223 return prf == null || prf.equals(algid_hmacWithSHA1);
229 * @return the prf algorithm identifier.
233 if (prf != null)
235 return prf;
258 if (prf != null && !prf.equals(algid_hmacWithSHA1))
260 v.add(prf);