Class MLDSAPublicKeySpec
java.lang.Object
com.ibm.crypto.hdwrCCA.provider.MLDSAPublicKeySpec
- All Implemented Interfaces:
KeySpec
-
Constructor Summary
ConstructorsConstructorDescriptionMLDSAPublicKeySpec(byte[] encoded) Creates an instance of this class from the encoded raw key material. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns a clone of the encoded raw key material.
-
Constructor Details
-
MLDSAPublicKeySpec
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:
InvalidKeySpecExceptionIllegalArgumentException
-
-
Method Details
-
getEncoded
public byte[] getEncoded()Returns a clone of the encoded raw key material.- Returns:
- A clone of the encoded raw key material.
-