Class KeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.ecgost.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) generatePrivate
(PrivateKeyInfo keyInfo) generatePublic
(SubjectPublicKeyInfo keyInfo)
-
Constructor Details
-
KeyFactorySpi
public KeyFactorySpi()
-
-
Method Details
-
engineGetKeySpec
- Overrides:
engineGetKeySpec
in classBaseKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKey
in classKeyFactorySpi
- Throws:
InvalidKeyException
-
engineGeneratePrivate
- Overrides:
engineGeneratePrivate
in classBaseKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineGeneratePublic
- Overrides:
engineGeneratePublic
in classBaseKeyFactorySpi
- Throws:
InvalidKeySpecException
-
generatePrivate
- Throws:
IOException
-
generatePublic
- Throws:
IOException
-