Top Description Fields Constructors Methods
org.bouncycastle.crypto.agreement.ecjpake

public Class ECSchnorrZKP

extends Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.math.ec.ECPoint

Package protected class containing zero knowledge proof, for an EC J-PAKE exchange.

This class encapsulates the values involved in the Schnorr zero-knowledge proof used in the EC J-PAKE protocol.

Field Summary

Modifier and TypeField and Description
private final BigInteger
r

The value of r = v - d * c mod n

private final ECPoint
V

The value of V = G x [v].

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public BigInteger
getr()

public ECPoint
getV()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

rback to summary
private final BigInteger r

The value of r = v - d * c mod n

Vback to summary
private final ECPoint V

The value of V = G x [v].

Constructor Detail

ECSchnorrZKPback to summary
pack-priv ECSchnorrZKP(ECPoint V, BigInteger r)

Method Detail

getrback to summary
public BigInteger getr()
getVback to summary
public ECPoint getV()