What is the algorithm name for PKCS#5 PBKDF1 in java? what is substitute for CryptoPP::PKCS5_PBKDF1 in java?
I have a couple of questions in using java cryptography 

***Question 1:***

   I am trying to Use the SecretKeyFactory class in java. I am trying to get instance related to PBKDF1 PKCS#5. I am new to cryptography. I tried online but Iam not able to find any such algorithm. Does java support it. I want some thing like this.

		SecretKeyFactory factory = SecretKeyFactory.getInstance("PBKDF1Pkcs#5");
		KeySpec spec = new PBEKeySpec(password, salt, 1, 128);

***Question 2:***

   Does the above two lines of code do the same thing as the below lines of code in c++

    CryptoPP::PKCS5_PBKDF1 <CryptoPP::MD5> fn;
    fn.DeriveKey(key, CryptoPP::MD5::DIGESTSIZE, 0, key.getBytes(), salt.getBytes(), salt.size(), PBKDF1_ITERATIONS,time_in_seconds);

  If not can some one give some thing in java which can mimic what the above lines of c++ code do.
                                         
Thanks
What is the algorithm name for PKCS#5 PBKDF1 in java? what is substitute for CryptoPP::PKCS5_PBKDF1 in java?
===

I have a couple of questions in using java cryptography 

***Question 1:***

   I am trying to Use the SecretKeyFactory class in java. I am trying to get instance related to PBKDF1 PKCS#5. I am new to cryptography. I tried online but Iam not able to find any such algorithm. Does java support it. I want some thing like this.

		SecretKeyFactory factory = SecretKeyFactory.getInstance("PBKDF1Pkcs#5");
		KeySpec spec = new PBEKeySpec(password, salt, 1, 128);

***Question 2:***

   Does the above two lines of code do the same thing as the below lines of code in c++

    CryptoPP::PKCS5_PBKDF1 <CryptoPP::MD5> fn;
    fn.DeriveKey(key, CryptoPP::MD5::DIGESTSIZE, 0, key.getBytes(), salt.getBytes(), salt.size(), PBKDF1_ITERATIONS,time_in_seconds);

  If not can some one give some thing in java which can mimic what the above lines of c++ code do.
                                         
Thanks