Package de.bsvrz.sys.funclib.srp6
Interface ServerEvidenceRoutine
-
public interface ServerEvidenceRoutine
Custom routine interface for computing the server evidence message 'M2'.If you don't want to employ the
default routine
for computing the server evidence message you can use this interface to define your own. Remember to make sure that exactly the same routine is used by both client and server session, else authentication will fail.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.math.BigInteger
computeServerEvidence(SRP6CryptoParams cryptoParams, SRP6ServerEvidenceContext ctx)
Computes a server evidence message 'M2'.
-
-
-
Method Detail
-
computeServerEvidence
java.math.BigInteger computeServerEvidence(SRP6CryptoParams cryptoParams, SRP6ServerEvidenceContext ctx)
Computes a server evidence message 'M2'.- Parameters:
cryptoParams
- The crypto parameters for the SRP-6a protocol.ctx
- Snapshot of the SRP-6a server session variables which may be used in the computation of the server evidence message.- Returns:
- The resulting server evidence message 'M1'.
-
-