public class OwlInitialRegistration
extends java.lang.Object
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 and Description |
|---|
OwlInitialRegistration(java.lang.String clientId,
java.math.BigInteger pi,
ECPoint gt)
Constructor of OwlInitialRegistration
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClientId()
Get the client identity (or username)
|
ECPoint |
getGt()
Get T = t * [G]
|
java.math.BigInteger |
getPi()
Get pi = H(t), where t = H(Username||password) mod(n)
|
public OwlInitialRegistration(java.lang.String clientId,
java.math.BigInteger pi,
ECPoint gt)
clientId - Client identity (or username)pi - pi = H(t), where t = H(Username||password) mod(n)gt - T = t * [G]public java.lang.String getClientId()
public java.math.BigInteger getPi()
public ECPoint getGt()