Top Fields Methods
org.bouncycastle.jcajce.interfaces

public Interface MLKEMPrivateKey

extends PrivateKey, MLKEMKey
Known Direct Implementers
org.bouncycastle.jcajce.provider.asymmetric.mlkem.BCMLKEMPrivateKey
Imports
java.security.PrivateKey

Field Summary

Inherited from java.security.PrivateKey:
serialVersionUID

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

long form private data for private key.
getPrivateData
()

Return the long form private data for the ML-KEM private key.

public MLKEMPublicKey

Returns:

a ML-KEM Public Key
getPublicKey
()

Return the public key corresponding to this private key.

public byte[]

Returns:

the seed for the private key, null if not available.
getSeed
()

Return the seed the private key was generated from (if available).

Inherited from org.bouncycastle.jcajce.interfaces.MLKEMKey:
getParameterSpec

Method Detail

getPrivateDataback to summary
public byte[] getPrivateData()

Return the long form private data for the ML-KEM private key.

Returns:byte[]

long form private data for private key.

getPublicKeyback to summary
public MLKEMPublicKey getPublicKey()

Return the public key corresponding to this private key.

Returns:MLKEMPublicKey

a ML-KEM Public Key

getSeedback to summary
public byte[] getSeed()

Return the seed the private key was generated from (if available).

Returns:byte[]

the seed for the private key, null if not available.