Bouncy Castle Cryptography Library 1.81

org.bouncycastle.jcajce.spec
Class MLKEMPublicKeySpec

java.lang.Object
  extended byorg.bouncycastle.jcajce.spec.MLKEMPublicKeySpec
All Implemented Interfaces:
java.security.spec.KeySpec

public class MLKEMPublicKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec

PublicKeySpec for ML-DSA.


Constructor Summary
MLKEMPublicKeySpec(MLKEMParameterSpec params, byte[] publicData)
          Base constructor.
 
Method Summary
 MLKEMParameterSpec getParameterSpec()
           
 byte[] getPublicData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

Bouncy Castle Cryptography Library 1.81