Package org.bouncycastle.jcajce.spec
Class MLKEMPublicKeySpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.MLKEMPublicKeySpec
-
- All Implemented Interfaces:
java.security.spec.KeySpec
public class MLKEMPublicKeySpec extends java.lang.Object implements java.security.spec.KeySpecPublicKeySpec for ML-DSA.
-
-
Constructor Summary
Constructors Constructor Description MLKEMPublicKeySpec(MLKEMParameterSpec params, byte[] publicData)Base constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MLKEMParameterSpecgetParameterSpec()byte[]getPublicData()
-
-
-
Constructor Detail
-
MLKEMPublicKeySpec
public MLKEMPublicKeySpec(MLKEMParameterSpec params, byte[] publicData)
Base constructor.- Parameters:
params- the parameters to use with the passed in encoding.publicData- the long form encoding of the public key.
-
-
Method Detail
-
getParameterSpec
public MLKEMParameterSpec getParameterSpec()
-
getPublicData
public byte[] getPublicData()
-
-