public class LunaPBKDF2Key extends Object implements PBEKey
serialVersionUID
Constructor and Description |
---|
LunaPBKDF2Key(long prfType,
int iterationCount,
char[] password,
byte[] salt,
int keyLength) |
Modifier and Type | Method and Description |
---|---|
static long |
AlgorithmToPrfType(String algorithm) |
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
int |
getIterationCount() |
int |
getKeyLength() |
char[] |
getPassword() |
byte[] |
getSalt() |
static String |
PrfTypeToAlgorithm(long prfType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public LunaPBKDF2Key(long prfType, int iterationCount, char[] password, byte[] salt, int keyLength)
public static long AlgorithmToPrfType(String algorithm)
public static String PrfTypeToAlgorithm(long prfType)
public int getIterationCount()
getIterationCount
in interface PBEKey
public char[] getPassword()
getPassword
in interface PBEKey
public int getKeyLength()
public byte[] getEncoded()
getEncoded
in interface Key
public String getAlgorithm()
getAlgorithm
in interface Key
Copyright 2014-2016 SafeNet Inc