Class MLKEMKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.util.BasePQCKeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.mlkem.MLKEMKeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
MLKEMKeyFactorySpi.MLKEM1024, MLKEMKeyFactorySpi.MLKEM512, MLKEMKeyFactorySpi.MLKEM768
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionengineGeneratePrivate(KeySpec keySpec) engineGeneratePublic(KeySpec keySpec) final KeySpecengineGetKeySpec(Key key, Class keySpec) final KeyengineTranslateKey(Key key) generatePrivate(PrivateKeyInfo keyInfo) generatePublic(SubjectPublicKeyInfo keyInfo)
-
Constructor Details
-
MLKEMKeyFactorySpi
public MLKEMKeyFactorySpi() -
MLKEMKeyFactorySpi
-
-
Method Details
-
engineGetKeySpec
- Specified by:
engineGetKeySpecin classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKeyin classKeyFactorySpi- Throws:
InvalidKeyException
-
engineGeneratePrivate
- Overrides:
engineGeneratePrivatein classBasePQCKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGeneratePublic
- Overrides:
engineGeneratePublicin classBasePQCKeyFactorySpi- Throws:
InvalidKeySpecException
-
generatePrivate
- Throws:
IOException
-
generatePublic
- Throws:
IOException
-