All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nimbusds.srp6.URoutineContext Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy