Package com.bitbucket.thinbus.srp6.js
Class HexHashedClientEvidenceRoutine
- java.lang.Object
-
- com.bitbucket.thinbus.srp6.js.HexHashedClientEvidenceRoutine
-
- All Implemented Interfaces:
com.nimbusds.srp6.ClientEvidenceRoutine,Serializable
public class HexHashedClientEvidenceRoutine extends Object implements com.nimbusds.srp6.ClientEvidenceRoutine, Serializable
Custom routine interface for computing the client evidence message 'M1'. Compatible with browser implementations by using hashing of concatenated hex strings H( HEX(A) | HEX(B) | HEX(S) ).Specification RFC 2945
- Author:
- Simon Massey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HexHashedClientEvidenceRoutine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegercomputeClientEvidence(com.nimbusds.srp6.SRP6CryptoParams cryptoParams, com.nimbusds.srp6.SRP6ClientEvidenceContext ctx)Computes a client evidence message 'M1'.
-
-
-
Constructor Detail
-
HexHashedClientEvidenceRoutine
public HexHashedClientEvidenceRoutine()
-
-
Method Detail
-
computeClientEvidence
public BigInteger computeClientEvidence(com.nimbusds.srp6.SRP6CryptoParams cryptoParams, com.nimbusds.srp6.SRP6ClientEvidenceContext ctx)
Computes a client evidence message 'M1'.- Specified by:
computeClientEvidencein interfacecom.nimbusds.srp6.ClientEvidenceRoutine- 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:
- Client evidence message 'M1' as 'H( HEX(A) | HEX(B) | HEX(S) )'.
-
-