Package org.conscrypt
Class DESEDESecretKeyFactory
- java.lang.Object
-
- javax.crypto.SecretKeyFactorySpi
-
- org.conscrypt.DESEDESecretKeyFactory
-
@Internal public class DESEDESecretKeyFactory extends SecretKeyFactorySpi
An implementation ofSecretKeyFactoryfor use with DESEDE keys. This class supportsSecretKeySpecandDESedeKeySpecfor key specs.
-
-
Constructor Summary
Constructors Constructor Description DESEDESecretKeyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SecretKeyengineGenerateSecret(KeySpec keySpec)protected KeySpecengineGetKeySpec(SecretKey secretKey, Class aClass)protected SecretKeyengineTranslateKey(SecretKey secretKey)
-
-
-
Method Detail
-
engineGenerateSecret
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException
- Specified by:
engineGenerateSecretin classSecretKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGetKeySpec
protected KeySpec engineGetKeySpec(SecretKey secretKey, Class aClass) throws InvalidKeySpecException
- Specified by:
engineGetKeySpecin classSecretKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineTranslateKey
protected SecretKey engineTranslateKey(SecretKey secretKey) throws InvalidKeyException
- Specified by:
engineTranslateKeyin classSecretKeyFactorySpi- Throws:
InvalidKeyException
-
-