michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: package org.mozilla.gecko.sync.jpake; michael@0: michael@0: import java.math.BigInteger; michael@0: michael@0: public class JPakeParty { michael@0: michael@0: // Generated values for key exchange. michael@0: public String signerId; michael@0: public BigInteger gx1; michael@0: public Zkp zkp1; michael@0: michael@0: public BigInteger x2; michael@0: public BigInteger gx2; michael@0: public Zkp zkp2; michael@0: michael@0: public BigInteger thisA; michael@0: public Zkp thisZkpA; michael@0: michael@0: // Received values during key exchange. michael@0: public BigInteger gx3; michael@0: public Zkp zkp3; michael@0: michael@0: public BigInteger gx4; michael@0: public Zkp zkp4; michael@0: michael@0: public BigInteger otherA; michael@0: public Zkp otherZkpA; michael@0: michael@0: michael@0: public JPakeParty(String mySignerId) { michael@0: this.signerId = mySignerId; michael@0: } michael@0: }