public class PBKDF2Parameters extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
derivedKey |
protected String |
hashAlgorithm |
protected String |
hashCharset |
protected int |
iterationCount |
protected byte[] |
salt |
Constructor and Description |
---|
PBKDF2Parameters() |
PBKDF2Parameters(String hashAlgorithm,
String hashCharset,
byte[] salt,
int iterationCount) |
PBKDF2Parameters(String hashAlgorithm,
String hashCharset,
byte[] salt,
int iterationCount,
byte[] derivedKey) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getDerivedKey() |
String |
getHashAlgorithm() |
String |
getHashCharset() |
int |
getIterationCount() |
byte[] |
getSalt() |
void |
setDerivedKey(byte[] derivedKey) |
void |
setHashAlgorithm(String hashAlgorithm) |
void |
setHashCharset(String hashCharset) |
void |
setIterationCount(int iterationCount) |
void |
setSalt(byte[] salt) |
protected byte[] salt
protected int iterationCount
protected String hashAlgorithm
protected String hashCharset
protected byte[] derivedKey
public PBKDF2Parameters()
public PBKDF2Parameters(String hashAlgorithm, String hashCharset, byte[] salt, int iterationCount)
public int getIterationCount()
public void setIterationCount(int iterationCount)
public byte[] getSalt()
public void setSalt(byte[] salt)
public byte[] getDerivedKey()
public void setDerivedKey(byte[] derivedKey)
public String getHashAlgorithm()
public void setHashAlgorithm(String hashAlgorithm)
public String getHashCharset()
public void setHashCharset(String hashCharset)
Copyright © 2019. All rights reserved.