net.lingala.zip4j.crypto.PBKDF2
Class PBKDF2Parameters

java.lang.Object
  extended by net.lingala.zip4j.crypto.PBKDF2.PBKDF2Parameters

public class PBKDF2Parameters
extends Object


Field Summary
protected  byte[] derivedKey
           
protected  String hashAlgorithm
           
protected  String hashCharset
           
protected  int iterationCount
           
protected  byte[] salt
           
 
Constructor Summary
PBKDF2Parameters()
           
PBKDF2Parameters(String hashAlgorithm, String hashCharset, byte[] salt, int iterationCount)
           
PBKDF2Parameters(String hashAlgorithm, String hashCharset, byte[] salt, int iterationCount, byte[] derivedKey)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

salt

protected byte[] salt

iterationCount

protected int iterationCount

hashAlgorithm

protected String hashAlgorithm

hashCharset

protected String hashCharset

derivedKey

protected byte[] derivedKey
Constructor Detail

PBKDF2Parameters

public PBKDF2Parameters()

PBKDF2Parameters

public PBKDF2Parameters(String hashAlgorithm,
                        String hashCharset,
                        byte[] salt,
                        int iterationCount)

PBKDF2Parameters

public PBKDF2Parameters(String hashAlgorithm,
                        String hashCharset,
                        byte[] salt,
                        int iterationCount,
                        byte[] derivedKey)
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)


Copyright © 2012. All Rights Reserved.