Top Description Fields Constructors Methods
org.bouncycastle.jcajce.spec

public Class MLKEMPublicKeySpec

extends Object
implements KeySpec
Class Inheritance
All Implemented Interfaces
java.security.spec.KeySpec
Imports
java.security.spec.KeySpec, org.bouncycastle.util.Arrays

PublicKeySpec for ML-DSA.

Field Summary

Modifier and TypeField and Description
private final MLKEMParameterSpec
private final byte[]

Constructor Summary

AccessConstructor and Description
public
MLKEMPublicKeySpec(MLKEMParameterSpec
the parameters to use with the passed in encoding.
params
,
byte[]
the long form encoding of the public key.
publicData
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public MLKEMParameterSpec
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

paramsback to summary
private final MLKEMParameterSpec params
publicDataback to summary
private final byte[] publicData

Constructor Detail

MLKEMPublicKeySpecback to summary
public MLKEMPublicKeySpec(MLKEMParameterSpec params, byte[] publicData)

Base constructor.

Parameters
params:MLKEMParameterSpec

the parameters to use with the passed in encoding.

publicData:byte[]

the long form encoding of the public key.

Method Detail

getParameterSpecback to summary
public MLKEMParameterSpec getParameterSpec()
getPublicDataback to summary
public byte[] getPublicData()