public class LunaSecretKeyPBKDF2 extends LunaSecretKey implements javax.crypto.interfaces.PBEKey
ecParamSpec, ivRandom, ivSecureRandom, keySize, lapi, mAlgId, mKeyClass, mKeyType, mObject, mParameterSet, UNLIMITED_USE| 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 |
|---|---|
java.lang.String |
getAlgorithm()
Returns a String representation of the key algorithm
|
int |
getIterationCount() |
int |
getKeyLength() |
char[] |
getPassword() |
byte[] |
getSalt() |
static LunaSecretKeyPBKDF2 |
InjectPBKDF2Key(javax.crypto.interfaces.PBEKey pbeKey,
javax.crypto.spec.PBEKeySpec pbeSpec) |
static LunaSecretKeyPBKDF2 |
InjectPBKDF2Key(javax.crypto.interfaces.PBEKey pbeKey,
javax.crypto.spec.PBEKeySpec pbeSpec,
int slot) |
ExtractSecretKey, getEncodedInternal, getFormat, InjectSecretKey, InjectSecretKey, InjectSecretKey, InjectSecretKey, InjectSecretKeyassign, AttributeToBigInteger, authorize, BigIntegerToAttribute, DestroyKey, equals, generateRandomIv, GetAlias, getAuthorizedSession, getBytesRemaining, GetDateMadePersistent, getEncoded, GetFingerprint, getKeyByType, GetKeyClass, GetKeyHandle, getKeySize, getKeyType, GetKeyType, GetOUID, getParameterSet, getSession, getSlot, getUsageCount, getUsageLimit, hashCode, incrementFailedAuthorizationCount, Initialize, Initialize, injectKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, isInitialized, IsKeyPersistent, LocateKeyByAlias, LocateKeyByAlias, LocateKeyByFingerprint, LocateKeyByFingerprint, LocateKeyByHandle, LocateKeyByHandle, LocateKeyByOUID, LocateKeyByOUID, LocateKeyOnlyByAlias, LocateKeyOnlyByAlias, MakePersistent, release, resetAuthorizationData, resetAuthorizedSession, setAuthorizationData, setKeySize, setUsageCount, setUsageLimit, toString, verifyClassAndTypepublic 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 javax.crypto.interfaces.PBEKeypublic char[] getPassword()
getPassword in interface javax.crypto.interfaces.PBEKeypublic byte[] getSalt()
getSalt in interface javax.crypto.interfaces.PBEKeypublic int getKeyLength()
public java.lang.String getAlgorithm()
LunaKeygetAlgorithm in interface java.security.KeygetAlgorithm in class LunaKeypublic static LunaSecretKeyPBKDF2 InjectPBKDF2Key(javax.crypto.interfaces.PBEKey pbeKey, javax.crypto.spec.PBEKeySpec pbeSpec) throws java.security.InvalidKeyException
java.security.InvalidKeyExceptionpublic static LunaSecretKeyPBKDF2 InjectPBKDF2Key(javax.crypto.interfaces.PBEKey pbeKey, javax.crypto.spec.PBEKeySpec pbeSpec, int slot) throws java.security.InvalidKeyException
java.security.InvalidKeyExceptionCopyright 2014-2018 SafeNet. All rights reserved.