java.lang.Object
com.ibm.crypto.hdwrCCA.provider.DilithiumPublicKeySpec
- All Implemented Interfaces:
KeySpec
@Deprecated(since="21.0.11.0",
forRemoval=true)
public class DilithiumPublicKeySpec
extends Object
implements KeySpec
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by ML-DSA implementation. This CRYSTALS-Dilithium implementation is
deprecated and will be removed in a future release, in alignment with NIST's
latest recommendations for post-quantum cryptography modernization.
Users should transition to the finalized ML-DSA standards.
This class specifies a Dilithium public key spec to be used with
DilithiumKeyFactory. This is used to make a representation of the key for
import or export.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDilithiumPublicKeySpec(byte[] encoded) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of this class from the encoded raw key material. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Deprecated, for removal: This API element is subject to removal in a future version.Returns a clone of the encoded raw key material.
-
Constructor Details
-
DilithiumPublicKeySpec
Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of this class from the encoded raw key material.- Parameters:
encoded- The encoded bytes contains the raw key material of the public key.- Throws:
InvalidKeySpecException
-
-
Method Details
-
getEncoded
public byte[] getEncoded()Deprecated, for removal: This API element is subject to removal in a future version.Returns a clone of the encoded raw key material.- Returns:
- A clone of the encoded raw key material.
-