Interface MLKEMPrivateKey
- All Superinterfaces:
Destroyable,Key,MLKEMKey,PrivateKey,Serializable
- All Known Implementing Classes:
BCMLKEMPrivateKey
-
Field Summary
Fields inherited from interface java.security.Key
serialVersionUIDFields inherited from interface java.security.PrivateKey
serialVersionUID -
Method Summary
Modifier and TypeMethodDescriptionReturn the public key corresponding to this private key.Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyedMethods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormatMethods inherited from interface org.bouncycastle.jcajce.interfaces.MLKEMKey
getParameterSpec
-
Method Details
-
getPublicKey
MLKEMPublicKey getPublicKey()Return the public key corresponding to this private key.- Returns:
- a ML-KEM Public Key
-