Class KeyFactory
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.x509.KeyFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PrivateKeyengineGeneratePrivate(KeySpec keySpec) protected PublicKeyengineGeneratePublic(KeySpec keySpec) protected KeySpecengineGetKeySpec(Key key, Class keySpec) protected KeyengineTranslateKey(Key key)
-
Constructor Details
-
KeyFactory
public KeyFactory()
-
-
Method Details
-
engineGeneratePrivate
- Specified by:
engineGeneratePrivatein classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGeneratePublic
- Specified by:
engineGeneratePublicin classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGetKeySpec
- Specified by:
engineGetKeySpecin classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKeyin classKeyFactorySpi- Throws:
InvalidKeyException
-