Class OwlFinishRegistration
java.lang.Object
org.bouncycastle.crypto.agreement.owl.OwlFinishRegistration
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 Summary
ConstructorsConstructorDescriptionOwlFinishRegistration(String clientId, ECSchnorrZKP knowledgeProofForX3, ECPoint gx3, BigInteger pi, ECPoint gt) Constructor of OwlFinishRegistration -
Method Summary
-
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 X3gx3- The public key X3= [G] * x3pi- pi = H(t) where t=H(username || password) mod ngt- T = t * [G]
-
-
Method Details
-
getClientId
Get the client identity- Returns:
- The client identity
-
getPi
Get pi = H(t), where t = H(Username||password) mod(n)- Returns:
- pi
-
getGt
Get T = t * [G]- Returns:
- T
-
getGx3
Get X3 = x3 * [G]- Returns:
- X3
-
getKnowledgeProofForX3
Get the zero-knowledge proof for the knowledge of x3 for X3 = x3 * [G]- Returns:
ECSchnorrZKP
-