Class OwlInitialRegistration
- java.lang.Object
-
- org.bouncycastle.crypto.agreement.owl.OwlInitialRegistration
-
public class OwlInitialRegistration extends java.lang.ObjectThe payload sent byOwlClientRegistration, during the user registration phase of an Owl exchange.The
OwlClientRegistrationcreates and sends an instance of this payload to theOwlServerRegistration. The payload to send should be created viaOwlClientRegistration.initiateUserRegistration().Each
OwlServerRegistrationmust also validate the payload received from theOwlClientRegistration. The received payload should be validated viaOwlServerRegistration.registerUseronServer(OwlInitialRegistration).
-
-
Constructor Summary
Constructors Constructor Description OwlInitialRegistration(java.lang.String clientId, java.math.BigInteger pi, ECPoint gt)Constructor of OwlInitialRegistration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClientId()Get the client identity (or username)ECPointgetGt()Get T = t * [G]java.math.BigIntegergetPi()Get pi = H(t), where t = H(Username||password) mod(n)
-
-
-
Constructor Detail
-
OwlInitialRegistration
public OwlInitialRegistration(java.lang.String clientId, java.math.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 Detail
-
getClientId
public java.lang.String getClientId()
Get the client identity (or username)- Returns:
- The client identity
-
getPi
public java.math.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
-
-