public class LunaSecretKeyPBKDF2 extends LunaSecretKey implements PBEKey
| Constructor and Description |
|---|
LunaSecretKeyPBKDF2(int hKey,
long prfType,
int iterationCount,
char[] password,
byte[] salt,
int keyLength) |
LunaSecretKeyPBKDF2(int hKey,
long prfType,
int iterationCount,
char[] password,
byte[] salt,
int keyLength,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
Returns a String representation of the key algorithm
|
int |
getIterationCount() |
int |
getKeyLength() |
char[] |
getPassword() |
byte[] |
getSalt() |
static LunaSecretKeyPBKDF2 |
InjectPBKDF2Key(PBEKey pbeKey,
PBEKeySpec pbeSpec) |
static LunaSecretKeyPBKDF2 |
InjectPBKDF2Key(PBEKey pbeKey,
PBEKeySpec pbeSpec,
int slot) |
ExtractSecretKey, getEncodedInternal, getFormat, InjectSecretKey, InjectSecretKey, InjectSecretKey, InjectSecretKeyAttributeToBigInteger, BigIntegerToAttribute, DestroyKey, equals, GetAlias, GetDateMadePersistent, getEncoded, GetFingerprint, GetKeyClass, GetKeyHandle, getKeySize, GetKeyType, getSession, getSlot, getUsageCount, getUsageLimit, hashCode, Initialize, Initialize, injectKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, IsKeyPersistent, LocateKeyByAlias, LocateKeyByAlias, LocateKeyByFingerprint, LocateKeyByFingerprint, LocateKeyByHandle, LocateKeyByHandle, LocateKeyOnlyByAlias, LocateKeyOnlyByAlias, MakePersistent, release, setKeySize, setUsageCount, setUsageLimit, toString, verifyClassAndTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEncoded, getFormatdestroy, isDestroyedpublic LunaSecretKeyPBKDF2(int hKey,
long prfType,
int iterationCount,
char[] password,
byte[] salt,
int keyLength)
public LunaSecretKeyPBKDF2(int hKey,
long prfType,
int iterationCount,
char[] password,
byte[] salt,
int keyLength,
int slot)
public int getIterationCount()
getIterationCount in interface PBEKeypublic char[] getPassword()
getPassword in interface PBEKeypublic int getKeyLength()
public String getAlgorithm()
LunaKeygetAlgorithm in interface KeygetAlgorithm in class LunaKeypublic static LunaSecretKeyPBKDF2 InjectPBKDF2Key(PBEKey pbeKey, PBEKeySpec pbeSpec) throws InvalidKeyException
InvalidKeyExceptionpublic static LunaSecretKeyPBKDF2 InjectPBKDF2Key(PBEKey pbeKey, PBEKeySpec pbeSpec, int slot) throws InvalidKeyException
InvalidKeyExceptionCopyright 2014-2016 SafeNet Inc