Class MLKEMKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.mlkem.MLKEMKeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
MLKEMKeyFactorySpi.MLKEM1024
,MLKEMKeyFactorySpi.MLKEM512
,MLKEMKeyFactorySpi.MLKEM768
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal KeySpec
engineGetKeySpec
(Key key, Class keySpec) final Key
engineTranslateKey
(Key key) generatePrivate
(PrivateKeyInfo keyInfo) generatePublic
(SubjectPublicKeyInfo keyInfo) Methods inherited from class org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
engineGeneratePrivate, engineGeneratePublic
-
Constructor Details
-
MLKEMKeyFactorySpi
public MLKEMKeyFactorySpi() -
MLKEMKeyFactorySpi
-
-
Method Details
-
engineGetKeySpec
- Specified by:
engineGetKeySpec
in classKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKey
in classKeyFactorySpi
- Throws:
InvalidKeyException
-
generatePrivate
- Throws:
IOException
-
generatePublic
- Throws:
IOException
-