Class KeyFactory
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.x509.KeyFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PrivateKey
engineGeneratePrivate
(KeySpec keySpec) protected PublicKey
engineGeneratePublic
(KeySpec keySpec) protected KeySpec
engineGetKeySpec
(Key key, Class keySpec) protected Key
engineTranslateKey
(Key key)
-
Constructor Details
-
KeyFactory
public KeyFactory()
-
-
Method Details
-
engineGeneratePrivate
- Specified by:
engineGeneratePrivate
in classKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineGeneratePublic
- Specified by:
engineGeneratePublic
in classKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineGetKeySpec
- Specified by:
engineGetKeySpec
in classKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKey
in classKeyFactorySpi
- Throws:
InvalidKeyException
-