public static class PBKDF2Config.Builder
extends java.lang.Object
| Constructor and Description | 
|---|
Builder()
Base constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PBKDF2Config | 
build()  | 
PBKDF2Config.Builder | 
withIterationCount(int iterationCount)
Set the iteration count for the PBE calculation. 
 | 
PBKDF2Config.Builder | 
withPRF(AlgorithmIdentifier prf)
Set the PRF to use for key generation. 
 | 
PBKDF2Config.Builder | 
withSaltLength(int saltLength)
Set the length of the salt to use. 
 | 
public Builder()
public PBKDF2Config.Builder withIterationCount(int iterationCount)
iterationCount - the iteration count to apply to the key creation.public PBKDF2Config.Builder withPRF(AlgorithmIdentifier prf)
prf - algorithm id for PRF.public PBKDF2Config.Builder withSaltLength(int saltLength)
saltLength - the length of the salt (in octets) to use.public PBKDF2Config build()