Class COMPOSITE.KeyFactory
- java.lang.Object
-
- java.security.KeyFactorySpi
-
- org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi
-
- org.bouncycastle.jcajce.provider.asymmetric.COMPOSITE.KeyFactory
-
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Enclosing class:
- COMPOSITE
public static class COMPOSITE.KeyFactory extends BaseKeyFactorySpi
-
-
Constructor Summary
Constructors Constructor Description KeyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Key
engineTranslateKey(Key key)
PrivateKey
generatePrivate(PrivateKeyInfo keyInfo)
PublicKey
generatePublic(SubjectPublicKeyInfo keyInfo)
-
Methods inherited from class org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi
engineGeneratePrivate, engineGeneratePublic, engineGetKeySpec
-
-
-
-
Method Detail
-
engineTranslateKey
protected Key engineTranslateKey(Key key) throws InvalidKeyException
- Specified by:
engineTranslateKey
in classKeyFactorySpi
- Throws:
InvalidKeyException
-
generatePrivate
public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException
- Throws:
IOException
-
generatePublic
public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException
- Throws:
IOException
-
-