Interface MLKEMPrivateKey
-
- All Superinterfaces:
javax.security.auth.Destroyable
,java.security.Key
,MLKEMKey
,java.security.PrivateKey
,java.io.Serializable
- All Known Implementing Classes:
BCMLKEMPrivateKey
public interface MLKEMPrivateKey extends java.security.PrivateKey, MLKEMKey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getPrivateData()
Return the long form private data for the ML-KEM private key.MLKEMPublicKey
getPublicKey()
Return the public key corresponding to this private key.byte[]
getSeed()
Return the seed the private key was generated from (if available).-
Methods inherited from interface org.bouncycastle.jcajce.interfaces.MLKEMKey
getParameterSpec
-
-
-
-
Method Detail
-
getPublicKey
MLKEMPublicKey getPublicKey()
Return the public key corresponding to this private key.- Returns:
- a ML-KEM Public Key
-
getPrivateData
byte[] getPrivateData()
Return the long form private data for the ML-KEM private key.- Returns:
- long form private data for private key.
-
getSeed
byte[] getSeed()
Return the seed the private key was generated from (if available).- Returns:
- the seed for the private key, null if not available.
-
-