Class MLKEMPublicKeySpec

  • All Implemented Interfaces:
    java.security.spec.KeySpec

    public class MLKEMPublicKeySpec
    extends java.lang.Object
    implements java.security.spec.KeySpec
    PublicKeySpec for ML-DSA.
    • Constructor Detail

      • MLKEMPublicKeySpec

        public MLKEMPublicKeySpec​(MLKEMParameterSpec params,
                                  byte[] publicData)
        Base constructor.
        Parameters:
        params - the parameters to use with the passed in encoding.
        publicData - the long form encoding of the public key.
    • Method Detail

      • getPublicData

        public byte[] getPublicData()