Class OwlClientRegistration

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

public class OwlClientRegistration extends Object
A client in the Owl key exchange protocol specifically for the user registration phase.

There is one client and one server communicating between each other. An instance of OwlServerRegistration represents one server, and an instance of OwlClientRegistration represents one client. These together make up the main machine through which user registration is facilitated.

To execute the registration, construct an OwlServerRegistration on the server end, and construct an OwlClientRegistration on the client end. Each Owl registration will need a new and distinct OwlServerRegistration and OwlClientRegistration. You cannot use the same OwlServerRegistration or OwlClientRegistration for multiple exchanges.

For user login go to OwlClient and OwlServer. To execute the user registration phase, both OwlServerRegistration and OwlClientRegistration must be constructed.

The following communication between OwlServerRegistration and OwlClientRegistration, must be facilitated over a secure communications channel as the leakage of the payload sent, would allow an attacker to reconstruct the secret password.

Call the following methods in this order, the client initiates every exchange.

This class is stateful and NOT threadsafe. Each instance should only be used for ONE complete Owl exchange (i.e. a new OwlServerRegistration and OwlClientRegistration should be constructed for each new Owl exchange).

  • Field Details

    • REGISTRATION_NOT_CALLED

      public static final boolean REGISTRATION_NOT_CALLED
      See Also:
    • REGISTRATION_CALLED

      public static final boolean REGISTRATION_CALLED
      See Also:
  • Constructor Details

  • Method Details