public class LunaSecretKeyPBE extends LunaSecretKey implements PBEKey
| Constructor and Description |
|---|
LunaSecretKeyPBE(int hKey,
byte[] iv,
int iterationCount,
char[] password,
byte[] salt,
long mechType) |
LunaSecretKeyPBE(int hKey,
byte[] iv,
int iterationCount,
char[] password,
byte[] salt,
long mechType,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
Returns a String representation of the key algorithm
|
int |
getIterationCount() |
byte[] |
getIv() |
char[] |
getPassword() |
byte[] |
getSalt() |
static LunaSecretKeyPBE |
InjectPBEKey(PBEKey pbeKey,
PBEParameterSpec pbeSpec) |
static LunaSecretKeyPBE |
InjectPBEKey(PBEKey pbeKey,
PBEParameterSpec 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 LunaSecretKeyPBE(int hKey,
byte[] iv,
int iterationCount,
char[] password,
byte[] salt,
long mechType)
public LunaSecretKeyPBE(int hKey,
byte[] iv,
int iterationCount,
char[] password,
byte[] salt,
long mechType,
int slot)
public int getIterationCount()
getIterationCount in interface PBEKeypublic char[] getPassword()
getPassword in interface PBEKeypublic byte[] getIv()
public String getAlgorithm()
LunaKeygetAlgorithm in interface KeygetAlgorithm in class LunaKeypublic static LunaSecretKeyPBE InjectPBEKey(PBEKey pbeKey, PBEParameterSpec pbeSpec) throws InvalidKeyException
InvalidKeyExceptionpublic static LunaSecretKeyPBE InjectPBEKey(PBEKey pbeKey, PBEParameterSpec pbeSpec, int slot) throws InvalidKeyException
InvalidKeyExceptionCopyright 2014-2016 SafeNet Inc