Class KyberKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.kyber.KyberKeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
KyberKeyFactorySpi.Kyber1024
,KyberKeyFactorySpi.Kyber1024_AES
,KyberKeyFactorySpi.Kyber512
,KyberKeyFactorySpi.Kyber512_AES
,KyberKeyFactorySpi.Kyber768
,KyberKeyFactorySpi.Kyber768_AES
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static 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
-
KyberKeyFactorySpi
public KyberKeyFactorySpi() -
KyberKeyFactorySpi
-
-
Method Details
-
engineGetKeySpec
- Specified by:
engineGetKeySpec
in classKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKey
in classKeyFactorySpi
- Throws:
InvalidKeyException
-
generatePrivate
- Throws:
IOException
-
generatePublic
- Throws:
IOException
-