public class OwlAuthenticationInitiate
extends java.lang.Object
Each OwlClient creates and sends an instance
of this payload to the OwlServer.
The payload to send should be created via
OwlClient.authenticationInitiate().
| Constructor and Description |
|---|
OwlAuthenticationInitiate(java.lang.String clientId,
ECPoint gx1,
ECPoint gx2,
ECSchnorrZKP knowledgeProofForX1,
ECSchnorrZKP knowledgeProofForX2)
Constructor of OwlAuthenticationInitiate
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClientId()
Get the client's identity (or username)
|
ECPoint |
getGx1()
Get the client's public key X1 = x1 * [G] in the first pass of Owl
|
ECPoint |
getGx2()
Get the client's public key X2 = x2 * [G] in the first pass of Owl
|
ECSchnorrZKP |
getKnowledgeProofForX1()
Get the zero-knowledge proof for the knowledge of x1
|
ECSchnorrZKP |
getKnowledgeProofForX2()
Get the zero-knowledge proof for the knowledge of x2
|
public OwlAuthenticationInitiate(java.lang.String clientId,
ECPoint gx1,
ECPoint gx2,
ECSchnorrZKP knowledgeProofForX1,
ECSchnorrZKP knowledgeProofForX2)
clientId - the client's identity (or username)gx1 - The public key X1 = x1 * [G]gx2 - The public key X2 = x2 * [G]knowledgeProofForX1 - The zero-knowledge proof for proving the knowledge of x1knowledgeProofForX2 - The zero-knowledge proof for proving the knowledge of x2public java.lang.String getClientId()
public ECPoint getGx1()
public ECPoint getGx2()
public ECSchnorrZKP getKnowledgeProofForX1()
ECSchnorrZKPpublic ECSchnorrZKP getKnowledgeProofForX2()
ECSchnorrZKP