|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.util.PBKDF2Config.Builder
Constructor Summary | |
PBKDF2Config.Builder()
Base constructor. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PBKDF2Config.Builder()
Method Detail |
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()
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |