Class BaseKeyFactorySpi
- java.lang.Object
-
- java.security.KeyFactorySpi
-
- org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi
-
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
COMPOSITE.KeyFactory
,KeyFactorySpi
,KeyFactorySpi
,KeyFactorySpi
,KeyFactorySpi
,KeyFactorySpi
,KeyFactorySpi
,KeyFactorySpi
,KeyFactorySpi
,KeyFactorySpi
,KeyFactorySpi
public abstract class BaseKeyFactorySpi extends java.security.KeyFactorySpi implements AsymmetricKeyInfoConverter
-
-
Constructor Summary
Constructors Constructor Description BaseKeyFactorySpi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.security.PrivateKey
engineGeneratePrivate(java.security.spec.KeySpec keySpec)
protected java.security.PublicKey
engineGeneratePublic(java.security.spec.KeySpec keySpec)
protected java.security.spec.KeySpec
engineGetKeySpec(java.security.Key key, java.lang.Class spec)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter
generatePrivate, generatePublic
-
-
-
-
Method Detail
-
engineGeneratePrivate
protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGeneratePrivate
in classjava.security.KeyFactorySpi
- Throws:
java.security.spec.InvalidKeySpecException
-
engineGeneratePublic
protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGeneratePublic
in classjava.security.KeyFactorySpi
- Throws:
java.security.spec.InvalidKeySpecException
-
engineGetKeySpec
protected java.security.spec.KeySpec engineGetKeySpec(java.security.Key key, java.lang.Class spec) throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGetKeySpec
in classjava.security.KeyFactorySpi
- Throws:
java.security.spec.InvalidKeySpecException
-
-