|
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.jcajce.PBKDF2Key | +--org.bouncycastle.jcajce.PBKDF2KeyWithParameters
A password based key for use with PBKDF2 as defined in PKCS#5 with full PBE parameters.
Fields inherited from interface java.security.Key |
serialVersionUID |
Constructor Summary | |
PBKDF2KeyWithParameters(char[] password,
CharToByteConverter converter,
byte[] salt,
int iterationCount)
Basic constructor for a password based key with generation parameters using FIPS PBKDF. |
Method Summary | |
int |
getIterationCount()
Return the iteration count to use in the key derivation function. |
byte[] |
getSalt()
Return the salt to use in the key derivation function. |
Methods inherited from class org.bouncycastle.jcajce.PBKDF2Key |
getAlgorithm, getEncoded, getFormat, getPassword |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.crypto.interfaces.PBEKey |
getPassword |
Methods inherited from interface java.security.Key |
getAlgorithm, getEncoded, getFormat |
Constructor Detail |
public PBKDF2KeyWithParameters(char[] password, CharToByteConverter converter, byte[] salt, int iterationCount)
password
- password to use.converter
- converter to use for transforming characters into bytes.salt
- salt for generation algorithmiterationCount
- iteration count for generation algorithm.Method Detail |
public byte[] getSalt()
getSalt
in interface javax.crypto.interfaces.PBEKey
public int getIterationCount()
getIterationCount
in interface javax.crypto.interfaces.PBEKey
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |