org.bouncycastle.jcajce.provider.asymmetric.mlkem
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
- public class MLKEMKeyFactorySpi
- extends BaseKeyFactorySpi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MLKEMKeyFactorySpi
public MLKEMKeyFactorySpi()
MLKEMKeyFactorySpi
public MLKEMKeyFactorySpi(ASN1ObjectIdentifier keyOid)
engineGetKeySpec
public final java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
java.lang.Class keySpec)
throws java.security.spec.InvalidKeySpecException
- Overrides:
engineGetKeySpec
in class java.security.KeyFactorySpi
engineTranslateKey
public final java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
- Overrides:
engineTranslateKey
in class java.security.KeyFactorySpi
generatePrivate
public java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
throws java.io.IOException
generatePublic
public java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
throws java.io.IOException