Interface MLDSAPrivateKey
- All Superinterfaces:
EncodableKeyPREVIEW, Key, PrivateKey
MLDSAPrivateKey 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.
MLDSAPrivateKey is the base interface for ML-DSA private keys with named parameters described in NIST FIPS 204 specifications - "Chapter 4. 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.
MLDSAPrivateKeywhen preview features are enabled.