Package net.lingala.zip4j.crypto.PBKDF2
Class PBKDF2Parameters
- java.lang.Object
-
- net.lingala.zip4j.crypto.PBKDF2.PBKDF2Parameters
-
public class PBKDF2Parameters extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]derivedKeyprotected StringhashAlgorithmprotected StringhashCharsetprotected intiterationCountprotected byte[]salt
-
Constructor Summary
Constructors Constructor Description PBKDF2Parameters()PBKDF2Parameters(String hashAlgorithm, String hashCharset, byte[] salt, int iterationCount)PBKDF2Parameters(String hashAlgorithm, String hashCharset, byte[] salt, int iterationCount, byte[] derivedKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getDerivedKey()StringgetHashAlgorithm()StringgetHashCharset()intgetIterationCount()byte[]getSalt()voidsetDerivedKey(byte[] derivedKey)voidsetHashAlgorithm(String hashAlgorithm)voidsetHashCharset(String hashCharset)voidsetIterationCount(int iterationCount)voidsetSalt(byte[] salt)
-
-
-
Method Detail
-
getIterationCount
public int getIterationCount()
-
setIterationCount
public void setIterationCount(int iterationCount)
-
getSalt
public byte[] getSalt()
-
setSalt
public void setSalt(byte[] salt)
-
getDerivedKey
public byte[] getDerivedKey()
-
setDerivedKey
public void setDerivedKey(byte[] derivedKey)
-
getHashAlgorithm
public String getHashAlgorithm()
-
setHashAlgorithm
public void setHashAlgorithm(String hashAlgorithm)
-
getHashCharset
public String getHashCharset()
-
setHashCharset
public void setHashCharset(String hashCharset)
-
-