Class OwlAuthenticationInitiate


  • public class OwlAuthenticationInitiate
    extends java.lang.Object
    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 Detail

      • OwlAuthenticationInitiate

        public OwlAuthenticationInitiate​(java.lang.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 x1
        knowledgeProofForX2 - The zero-knowledge proof for proving the knowledge of x2
    • Method Detail

      • getClientId

        public java.lang.String getClientId()
        Get the client's identity (or username)
        Returns:
        The client's identity
      • getGx1

        public ECPoint getGx1()
        Get the client's public key X1 = x1 * [G] in the first pass of Owl
        Returns:
        The client's public key X1
      • getGx2

        public ECPoint getGx2()
        Get the client's public key X2 = x2 * [G] in the first pass of Owl
        Returns:
        The client's public key X2
      • getKnowledgeProofForX1

        public ECSchnorrZKP getKnowledgeProofForX1()
        Get the zero-knowledge proof for the knowledge of x1
        Returns:
        ECSchnorrZKP
      • getKnowledgeProofForX2

        public ECSchnorrZKP getKnowledgeProofForX2()
        Get the zero-knowledge proof for the knowledge of x2
        Returns:
        ECSchnorrZKP