public class LunaSecretKeyPBE extends LunaSecretKey implements javax.crypto.interfaces.PBEKey
ivRandom, ivSecureRandom, keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE| 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 |
|---|---|
java.lang.String |
getAlgorithm()
Returns a String representation of the key algorithm
|
int |
getIterationCount() |
byte[] |
getIv() |
char[] |
getPassword() |
byte[] |
getSalt() |
static LunaSecretKeyPBE |
InjectPBEKey(javax.crypto.interfaces.PBEKey pbeKey,
javax.crypto.spec.PBEParameterSpec pbeSpec) |
static LunaSecretKeyPBE |
InjectPBEKey(javax.crypto.interfaces.PBEKey pbeKey,
javax.crypto.spec.PBEParameterSpec pbeSpec,
int slot) |
ExtractSecretKey, getEncodedInternal, getFormat, InjectSecretKey, InjectSecretKey, InjectSecretKey, InjectSecretKey, InjectSecretKeyassign, AttributeToBigInteger, authorize, BigIntegerToAttribute, cacheAuthorizedSession, deleteCacheAuthorizedSession, DestroyKey, equals, generateRandomIv, GetAlias, getAuthorizedSession, getBytesRemaining, getCacheAuthorizedSession, GetDateMadePersistent, getEncoded, GetFingerprint, getKeyByType, GetKeyClass, GetKeyHandle, getKeySize, getKeyType, GetKeyType, GetOUID, 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 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 javax.crypto.interfaces.PBEKeypublic char[] getPassword()
getPassword in interface javax.crypto.interfaces.PBEKeypublic byte[] getSalt()
getSalt in interface javax.crypto.interfaces.PBEKeypublic byte[] getIv()
public java.lang.String getAlgorithm()
LunaKeygetAlgorithm in interface java.security.KeygetAlgorithm in class LunaKeypublic static LunaSecretKeyPBE InjectPBEKey(javax.crypto.interfaces.PBEKey pbeKey, javax.crypto.spec.PBEParameterSpec pbeSpec) throws java.security.InvalidKeyException
java.security.InvalidKeyExceptionpublic static LunaSecretKeyPBE InjectPBEKey(javax.crypto.interfaces.PBEKey pbeKey, javax.crypto.spec.PBEParameterSpec pbeSpec, int slot) throws java.security.InvalidKeyException
java.security.InvalidKeyExceptionCopyright 2014-2018 SafeNet. All rights reserved.