Class ScryptSecretKeyFactory
java.lang.Object
javax.crypto.SecretKeyFactorySpi
org.conscrypt.ScryptSecretKeyFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SecretKeyengineGenerateSecret(KeySpec inKeySpec) protected KeySpecengineGetKeySpec(SecretKey secretKey, Class aClass) protected SecretKeyengineTranslateKey(SecretKey secretKey) private Object
-
Constructor Details
-
ScryptSecretKeyFactory
public ScryptSecretKeyFactory()
-
-
Method Details
-
engineGenerateSecret
- Specified by:
engineGenerateSecretin classSecretKeyFactorySpi- Throws:
InvalidKeySpecException
-
getValue
private Object getValue(KeySpec spec, String methodName) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException -
engineGetKeySpec
protected KeySpec engineGetKeySpec(SecretKey secretKey, Class aClass) throws InvalidKeySpecException - Specified by:
engineGetKeySpecin classSecretKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKeyin classSecretKeyFactorySpi- Throws:
InvalidKeyException
-