public class OwlAuthenticationFinish
extends java.lang.Object
Each OwlClient creates and sends an instance
of this payload to the OwlServer after validating the previous payload
OwlAuthenticationServerResponse.
The payload to send should be created via
OwlClient.authenticationFinish(OwlAuthenticationServerResponse).
Each OwlClient must also validate the payload
received from the OwlServer, which is done by the same function
OwlClient.authenticationFinish(OwlAuthenticationServerResponse).
| Constructor and Description |
|---|
OwlAuthenticationFinish(java.lang.String clientId,
ECPoint alpha,
ECSchnorrZKP knowledgeProofForAlpha,
java.math.BigInteger r)
Constructor of OwlAuthenticationFinish
|
| Modifier and Type | Method and Description |
|---|---|
ECPoint |
getAlpha()
Get the public key alpha = (x2 x pi) * [X1 + X3 + X4]. sent by the client in the third pass
|
java.lang.String |
getClientId()
Get the client's identity (also known as username)
|
ECSchnorrZKP |
getKnowledgeProofForAlpha()
Get the Schnorr zero-knowledge proof for the knowledge of the private key (x2 x pi) for the public key alpha
|
java.math.BigInteger |
getR()
Get the response r as part of the zero-knowledge proof for proving the knowledge of t, r = x1 - t.h mod n where x1 is the ephemeral private key for the public key X1 sent in the first pass of Owl
|
public OwlAuthenticationFinish(java.lang.String clientId,
ECPoint alpha,
ECSchnorrZKP knowledgeProofForAlpha,
java.math.BigInteger r)
clientId - Client's identityalpha - The public key alpha sent by the client in the third passknowledgeProofForAlpha - The zero-knowledge proof for the knowledge of the private key for alphar - The response r for proving the knowledge of t=H(usrname||password) mod n.public java.lang.String getClientId()
public ECPoint getAlpha()
public java.math.BigInteger getR()
public ECSchnorrZKP getKnowledgeProofForAlpha()
ECSchnorrZKP