mobile/android/base/sync/jpake/JPakeParty.java

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/sync/jpake/JPakeParty.java	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +package org.mozilla.gecko.sync.jpake;
     1.9 +
    1.10 +import java.math.BigInteger;
    1.11 +
    1.12 +public class JPakeParty {
    1.13 +
    1.14 +  // Generated values for key exchange.
    1.15 +  public String       signerId;
    1.16 +  public BigInteger   gx1;
    1.17 +  public Zkp          zkp1;
    1.18 +
    1.19 +  public BigInteger   x2;
    1.20 +  public BigInteger   gx2;
    1.21 +  public Zkp          zkp2;
    1.22 +
    1.23 +  public BigInteger   thisA;
    1.24 +  public Zkp          thisZkpA;
    1.25 +
    1.26 +  // Received values during key exchange.
    1.27 +  public BigInteger   gx3;
    1.28 +  public Zkp          zkp3;
    1.29 +
    1.30 +  public BigInteger   gx4;
    1.31 +  public Zkp          zkp4;
    1.32 +
    1.33 +  public BigInteger   otherA;
    1.34 +  public Zkp          otherZkpA;
    1.35 +
    1.36 +
    1.37 +  public JPakeParty(String mySignerId) {
    1.38 +    this.signerId = mySignerId;
    1.39 +  }
    1.40 +}

mercurial