Interface MLKEMPrivateKey
- All Superinterfaces:
Destroyable
,Key
,MLKEMKey
,PrivateKey
,Serializable
- All Known Implementing Classes:
BCMLKEMPrivateKey
-
Field Summary
Fields inherited from interface java.security.Key
serialVersionUID
Fields 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, isDestroyed
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
Methods 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
-