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, waitdestroy, isDestroyedpublic 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 PBEKeypublic char[] getPassword()
getPassword in interface PBEKeypublic int getKeyLength()
public byte[] getEncoded()
getEncoded in interface Keypublic String getAlgorithm()
getAlgorithm in interface KeyCopyright 2014-2016 SafeNet Inc