public class MLKEMKeyFactorySpi extends BaseKeyFactorySpi
Modifier and Type | Class and Description |
---|---|
static class |
MLKEMKeyFactorySpi.MLKEM1024 |
static class |
MLKEMKeyFactorySpi.MLKEM512 |
static class |
MLKEMKeyFactorySpi.MLKEM768 |
Constructor and Description |
---|
MLKEMKeyFactorySpi() |
MLKEMKeyFactorySpi(ASN1ObjectIdentifier keyOid) |
Modifier and Type | Method and Description |
---|---|
java.security.spec.KeySpec |
engineGetKeySpec(java.security.Key key,
java.lang.Class keySpec) |
java.security.Key |
engineTranslateKey(java.security.Key key) |
java.security.PrivateKey |
generatePrivate(PrivateKeyInfo keyInfo) |
java.security.PublicKey |
generatePublic(SubjectPublicKeyInfo keyInfo) |
engineGeneratePrivate, engineGeneratePublic
public MLKEMKeyFactorySpi()
public MLKEMKeyFactorySpi(ASN1ObjectIdentifier keyOid)
public final java.security.spec.KeySpec engineGetKeySpec(java.security.Key key, java.lang.Class keySpec) throws java.security.spec.InvalidKeySpecException
engineGetKeySpec
in class java.security.KeyFactorySpi
java.security.spec.InvalidKeySpecException
public final java.security.Key engineTranslateKey(java.security.Key key) throws java.security.InvalidKeyException
engineTranslateKey
in class java.security.KeyFactorySpi
java.security.InvalidKeyException
public java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOException
public java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOException