com.nimbusds.srp6.URoutineContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of srp6a Show documentation
Show all versions of srp6a Show documentation
Complete Secure Remote Password (SRP-6a) implementation
for Java.
package com.nimbusds.srp6;
import java.math.BigInteger;
/**
* Immutable snapshot of the SRP-6a client session variables to be used in a
* {@link URoutine}.
*
* @author Simon Massey
*/
public class URoutineContext {
/**
* The public client value 'A'.
*/
public final BigInteger A;
/**
* The public server value 'B'.
*/
public final BigInteger B;
/**
* Creates a new immutable snapshot of SRP-6a client session variables
* to be used in a {@link URoutine}.
*
* @param A The public client value 'A'.
* @param B The public server value 'B'.
*/
public URoutineContext(final BigInteger A, final BigInteger B) {
this.A = A;
this.B = B;
}
}