public class PBKDF2KeySpec extends PBEKeySpec
Constructor and Description |
---|
PBKDF2KeySpec(char[] password,
byte[] salt,
int iterationCount,
int keySize,
AlgorithmIdentifier prf)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getPrf() |
clearPassword, getIterationCount, getKeyLength, getPassword, getSalt
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.public AlgorithmIdentifier getPrf()
Copyright © 2016 BouncyCastle.org. All rights reserved.