Interface ClientEvidenceRoutine


public interface ClientEvidenceRoutine
Custom routine interface for computing the client evidence message 'M1'.

If you don't want to employ the default routine for computing the client 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 Details

    • computeClientEvidence

      BigInteger computeClientEvidence(SRP6CryptoParams cryptoParams, SRP6ClientEvidenceContext ctx)
      Computes a client evidence message 'M1'.
      Parameters:
      cryptoParams - The crypto parameters for the SRP-6a protocol.
      ctx - Snapshot of the SRP-6a client session variables which may be used in the computation of the client evidence message.
      Returns:
      The resulting client evidence message 'M1'.