org.bouncycastle.jcajce.provider.asymmetric.rsa
Class KeyFactorySpi
java.lang.Object
|
+--java.security.KeyFactorySpi
|
+--org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi
|
+--org.bouncycastle.jcajce.provider.asymmetric.rsa.KeyFactorySpi
- All Implemented Interfaces:
- AsymmetricKeyInfoConverter
- public class KeyFactorySpi
- extends BaseKeyFactorySpi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyFactorySpi
public KeyFactorySpi()
engineGetKeySpec
protected java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
java.lang.Class spec)
throws java.security.spec.InvalidKeySpecException
- Overrides:
engineGetKeySpec
in class BaseKeyFactorySpi
engineTranslateKey
protected java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
- Overrides:
engineTranslateKey
in class java.security.KeyFactorySpi
engineGeneratePrivate
protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
- Overrides:
engineGeneratePrivate
in class BaseKeyFactorySpi
engineGeneratePublic
protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
- Overrides:
engineGeneratePublic
in class BaseKeyFactorySpi
generatePrivate
public java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
throws java.io.IOException
generatePublic
public java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
throws java.io.IOException