Class SNTRUP761.Server

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.crypto.SecretWithEncapsulation value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Server()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getEncapsulation()
      Retrieves the encapsulation of the secret.
      byte[] getSecret()
      Retrieves the secret.
      byte[] init​(byte[] publicKey)
      Initializes the KEM with a public key received from a client and prepares an encapsulated secret.
      • Methods inherited from class java.lang.Object

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

      • value

        private org.bouncycastle.crypto.SecretWithEncapsulation value
    • Constructor Detail

      • Server

        Server()