public class MldsaKeyFactory
extends java.security.KeyFactorySpi
MldsaKeyFactory extends KeyFactorySpi for ML-DSA public key operations.
Only public key operations are supported. ML-DSA private keys cannot be imported into
CloudHSM; they must be generated on the HSM via MldsaKeyPairGenerator.
This implementation is required for keytool compatibility: keytool calls KeyFactory.getInstance("ML-DSA") when building the self-signed certificate during -genkeypair.
KeyFactory| Constructor and Description |
|---|
MldsaKeyFactory(CloudHsmProvider provider)
Constructs an ML-DSA
KeyFactorySpi instance. |
public MldsaKeyFactory(CloudHsmProvider provider) throws java.lang.IllegalStateException
KeyFactorySpi instance.provider - CloudHSM provider offering this service.java.lang.IllegalStateException - when provider is null.