Class RainbowKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.rainbow.RainbowKeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionengineGeneratePrivate
(KeySpec keySpec) engineGeneratePublic
(KeySpec keySpec) final KeySpec
engineGetKeySpec
(Key key, Class keySpec) final Key
engineTranslateKey
(Key key) generatePrivate
(PrivateKeyInfo keyInfo) generatePublic
(SubjectPublicKeyInfo keyInfo)
-
Constructor Details
-
RainbowKeyFactorySpi
public RainbowKeyFactorySpi()
-
-
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
-
generatePrivate
- Specified by:
generatePrivate
in interfaceAsymmetricKeyInfoConverter
- Throws:
IOException
-
generatePublic
- Specified by:
generatePublic
in interfaceAsymmetricKeyInfoConverter
- Throws:
IOException
-