public class LunaSecretKeyFactoryGeneric extends SecretKeyFactorySpi
| Modifier and Type | Field and Description |
|---|---|
protected static SecretKeySpec |
SECRET_SPEC |
| Constructor and Description |
|---|
LunaSecretKeyFactoryGeneric() |
| Modifier and Type | Method and Description |
|---|---|
protected SecretKey |
engineGenerateSecret(KeySpec spec) |
protected KeySpec |
engineGetKeySpec(SecretKey key,
Class specType) |
protected SecretKey |
engineTranslateKey(SecretKey key) |
protected static SecretKeySpec SECRET_SPEC
protected SecretKey engineGenerateSecret(KeySpec spec) throws InvalidKeySpecException
engineGenerateSecret in class SecretKeyFactorySpiInvalidKeySpecExceptionprotected KeySpec engineGetKeySpec(SecretKey key, Class specType) throws InvalidKeySpecException
engineGetKeySpec in class SecretKeyFactorySpiInvalidKeySpecExceptionprotected SecretKey engineTranslateKey(SecretKey key) throws InvalidKeyException
engineTranslateKey in class SecretKeyFactorySpiInvalidKeyExceptionCopyright 2014-2018 SafeNet. All rights reserved.