Class SNTRUP761.Client

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKEMExtractor extractor  
      private org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimePublicKeyParameters publicKey  
    • Constructor Summary

      Constructors 
      Constructor Description
      Client()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] extractSecret​(byte[] encapsulated)
      Extracts the secret from an encapsulation ciphertext.
      int getEncapsulationLength()
      Gets the required encapsulation length in bytes.
      byte[] getPublicKey()
      Gets the KEM public key.
      void init()
      Initializes the KEM and generates a new key pair.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait