public class PBKDF2Parameters
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected byte[] |
derivedKey |
protected java.lang.String |
hashAlgorithm |
protected java.lang.String |
hashCharset |
protected int |
iterationCount |
protected byte[] |
salt |
构造器和说明 |
---|
PBKDF2Parameters() |
PBKDF2Parameters(java.lang.String hashAlgorithm,
java.lang.String hashCharset,
byte[] salt,
int iterationCount) |
PBKDF2Parameters(java.lang.String hashAlgorithm,
java.lang.String hashCharset,
byte[] salt,
int iterationCount,
byte[] derivedKey) |
限定符和类型 | 方法和说明 |
---|---|
byte[] |
getDerivedKey() |
java.lang.String |
getHashAlgorithm() |
java.lang.String |
getHashCharset() |
int |
getIterationCount() |
byte[] |
getSalt() |
void |
setDerivedKey(byte[] derivedKey) |
void |
setHashAlgorithm(java.lang.String hashAlgorithm) |
void |
setHashCharset(java.lang.String hashCharset) |
void |
setIterationCount(int iterationCount) |
void |
setSalt(byte[] salt) |
protected byte[] salt
protected int iterationCount
protected java.lang.String hashAlgorithm
protected java.lang.String hashCharset
protected byte[] derivedKey
public PBKDF2Parameters()
public PBKDF2Parameters(java.lang.String hashAlgorithm, java.lang.String hashCharset, byte[] salt, int iterationCount)
public PBKDF2Parameters(java.lang.String hashAlgorithm, java.lang.String hashCharset, byte[] salt, int iterationCount, byte[] derivedKey)
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 java.lang.String getHashAlgorithm()
public void setHashAlgorithm(java.lang.String hashAlgorithm)
public java.lang.String getHashCharset()
public void setHashCharset(java.lang.String hashCharset)