public interface URoutine
If you don't want to employ the default routine
for computing 'H(A | B)' 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.
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
computeU(SRP6CryptoParams cryptoParams,
URoutineContext ctx)
Computes 'u' as 'H(A | B)'.
|
java.math.BigInteger computeU(SRP6CryptoParams cryptoParams, URoutineContext ctx)
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
hashed keys message.Copyright © 2019 Connect2id Ltd.. All Rights Reserved.