Class OwlInitialRegistration

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

public class OwlInitialRegistration extends Object
The payload sent by OwlClientRegistration, during the user registration phase of an Owl exchange.

The OwlClientRegistration creates and sends an instance of this payload to the OwlServerRegistration. The payload to send should be created via OwlClientRegistration.initiateUserRegistration().

Each OwlServerRegistration must also validate the payload received from the OwlClientRegistration. The received payload should be validated via OwlServerRegistration.registerUseronServer(OwlInitialRegistration).

  • Constructor Details

    • OwlInitialRegistration

      public OwlInitialRegistration(String clientId, BigInteger pi, ECPoint gt)
      Constructor of OwlInitialRegistration
      Parameters:
      clientId - Client identity (or username)
      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 (or username)
      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