|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.crypto.spec.PBEKeySpec
org.bouncycastle.jcajce.spec.PBKDF2KeySpec
public class PBKDF2KeySpec
Extension of PBEKeySpec which takes into account the PRF algorithm setting available in PKCS#5 PBKDF2.
Constructor Summary | |
---|---|
PBKDF2KeySpec(char[] password,
byte[] salt,
int iterationCount,
int keySize,
AlgorithmIdentifier prf)
Base constructor. |
Method Summary | |
---|---|
AlgorithmIdentifier |
getPrf()
|
Methods inherited from class javax.crypto.spec.PBEKeySpec |
---|
clearPassword, getIterationCount, getKeyLength, getPassword, getSalt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PBKDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdentifier prf)
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.Method Detail |
---|
public AlgorithmIdentifier getPrf()
|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |