Class OwlFinishRegistration

java.lang.Object
org.bouncycastle.crypto.agreement.owl.OwlFinishRegistration

public class OwlFinishRegistration extends Object
The final payload generated by the OwlServerRegistration during the user registration of a Owl exchange. This payload is to be stored securely by the server.

Each OwlServerRegistration creates and sends an instance of this payload to be stored securely. The payload to send should be created via OwlServerRegistration.registerUseronServer(OwlInitialRegistration).

  • Constructor Details

    • OwlFinishRegistration

      public OwlFinishRegistration(String clientId, ECSchnorrZKP knowledgeProofForX3, ECPoint gx3, BigInteger pi, ECPoint gt)
      Constructor of OwlFinishRegistration
      Parameters:
      clientId - The client identity (or username)
      knowledgeProofForX3 - The zero-knowledge proof for the knowledge of x3 for X3
      gx3 - The public key X3= [G] * x3
      pi - pi = H(t) where t=H(username || password) mod n
      gt - T = t * [G]
  • Method Details

    • getClientId

      public String getClientId()
      Get the client identity
      Returns:
      The client identity
    • getPi

      public BigInteger getPi()
      Get pi = H(t), where t = H(Username||password) mod(n)
      Returns:
      pi
    • getGt

      public ECPoint getGt()
      Get T = t * [G]
      Returns:
      T
    • getGx3

      public ECPoint getGx3()
      Get X3 = x3 * [G]
      Returns:
      X3
    • getKnowledgeProofForX3

      public ECSchnorrZKP getKnowledgeProofForX3()
      Get the zero-knowledge proof for the knowledge of x3 for X3 = x3 * [G]
      Returns:
      ECSchnorrZKP