Class OwlAuthenticationInitiate
java.lang.Object
org.bouncycastle.crypto.agreement.owl.OwlAuthenticationInitiate
The payload sent by the client in the first pass of an Owl exchange.
Each OwlClient creates and sends an instance
of this payload to the OwlServer.
The payload to send should be created via
OwlClient.authenticationInitiate().
-
Constructor Summary
ConstructorsConstructorDescriptionOwlAuthenticationInitiate(String clientId, ECPoint gx1, ECPoint gx2, ECSchnorrZKP knowledgeProofForX1, ECSchnorrZKP knowledgeProofForX2) Constructor of OwlAuthenticationInitiate -
Method Summary
Modifier and TypeMethodDescriptionGet the client's identity (or username)getGx1()Get the client's public key X1 = x1 * [G] in the first pass of OwlgetGx2()Get the client's public key X2 = x2 * [G] in the first pass of OwlGet the zero-knowledge proof for the knowledge of x1Get the zero-knowledge proof for the knowledge of x2
-
Constructor Details
-
OwlAuthenticationInitiate
public OwlAuthenticationInitiate(String clientId, ECPoint gx1, ECPoint gx2, ECSchnorrZKP knowledgeProofForX1, ECSchnorrZKP knowledgeProofForX2) Constructor of OwlAuthenticationInitiate- Parameters:
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 x2
-
-
Method Details
-
getClientId
-
getGx1
Get the client's public key X1 = x1 * [G] in the first pass of Owl- Returns:
- The client's public key X1
-
getGx2
Get the client's public key X2 = x2 * [G] in the first pass of Owl- Returns:
- The client's public key X2
-
getKnowledgeProofForX1
Get the zero-knowledge proof for the knowledge of x1- Returns:
ECSchnorrZKP
-
getKnowledgeProofForX2
Get the zero-knowledge proof for the knowledge of x2- Returns:
ECSchnorrZKP
-