Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.jcajce.spec;
Extension of PBEKeySpec which takes into account the PRF algorithm setting available in PKCS#5 PBKDF2.
public class PBKDF2KeySpec
    extends PBEKeySpec
    private AlgorithmIdentifier prf;

Base constructor.

password password to use as the seed of the PBE key generator.
salt salt to use in the generator,
iterationCount iteration count to use in the generator.
keySize size of the key to be generated.
prf identifier and parameters for the PRF algorithm to use.
    public PBKDF2KeySpec(char[] passwordbyte[] saltint iterationCountint keySizeAlgorithmIdentifier prf)
        this. = prf;
    public AlgorithmIdentifier getPrf()
        return ;
New to GrepCode? Check out our FAQ X