Class MLKEM1024

  • All Implemented Interfaces:
    KEM

    public class MLKEM1024
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.bouncycastle.pqc.crypto.mlkem.MLKEMParameters params  
    • Constructor Summary

      Constructors 
      Constructor Description
      MLKEM1024()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] decapsulate​(byte[] encapsulation)  
      byte[] getPublicKey()  
      void init()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • params

        protected org.bouncycastle.pqc.crypto.mlkem.MLKEMParameters params
    • Constructor Detail

      • MLKEM1024

        public MLKEM1024()
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Specified by:
        init in interface KEM
        Throws:
        java.lang.Exception
      • getPublicKey

        public byte[] getPublicKey()
                            throws java.lang.Exception
        Specified by:
        getPublicKey in interface KEM
        Throws:
        java.lang.Exception
      • decapsulate

        public byte[] decapsulate​(byte[] encapsulation)
                           throws java.lang.Exception
        Specified by:
        decapsulate in interface KEM
        Throws:
        java.lang.Exception