Interface MLKEMPublicKey
- All Superinterfaces:
EncodableKeyPREVIEW, Key, PublicKey
MLKEMPublicKey is a preview API of the Java Card platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java Card platform.
MLKEMPublicKey is the base interface for ML-KEM public keys with named parameters described in NIST FIPS 203 specifications "Chapter 8. Parameter Sets".
- Since:
- preview
-
Method Summary
Methods inherited from interface EncodableKeyPREVIEW
clearKey, getEncoded, getEncodingLength, getParams, setEncodedModifier and TypeMethodDescriptionvoidclearKey()Clears the key and sets its initialized state to false.shortgetEncoded(byte[] value, short offset) Gets the key in its primary encoding format.shortReturns the length, in bytes, of the primary encoded representation, corresponding to the buffer length expected byEncodableKey.getEncoded(byte[], short)andEncodableKey.setEncoded(byte[], short, short).Returns the parameter specification associated with this key instance.voidsetEncoded(byte[] value, short offset, short length) Sets the key from its primary encoding format.
MLKEMPublicKeywhen preview features are enabled.