Class KeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.elgamal.KeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PrivateKey
engineGeneratePrivate
(KeySpec keySpec) protected PublicKey
engineGeneratePublic
(KeySpec keySpec) protected KeySpec
engineGetKeySpec
(Key key, Class spec) protected Key
engineTranslateKey
(Key key)
-
Constructor Details
-
KeyFactorySpi
public KeyFactorySpi()
-
-
Method Details
-
engineGeneratePrivate
- Overrides:
engineGeneratePrivate
in classBaseKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineGeneratePublic
- Overrides:
engineGeneratePublic
in classBaseKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineGetKeySpec
- Overrides:
engineGetKeySpec
in classBaseKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKey
in classKeyFactorySpi
- Throws:
InvalidKeyException
-
generatePrivate
- Throws:
IOException
-
generatePublic
- Throws:
IOException
-