public class Makwa.DelegationContext
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
byte[] |
doFinal(byte[] answer)
Using the value returned by the delegation server,
finalize the Makwa computation.
|
java.lang.String |
doFinalToString(byte[] answer)
Using the value returned by the delegation server,
finalize the Makwa computation.
|
boolean |
doFinalVerify(byte[] answer)
Using the value returned by the delegation server,
finalize the Makwa computation for a password
verification.
|
byte[] |
getRequest()
Serialize this context into a request to send to the
delegation server.
|
public byte[] getRequest()
public byte[] doFinal(byte[] answer)
answer
- the answer from the delegation serverMakwaException
- on errorpublic java.lang.String doFinalToString(byte[] answer)
answer
- the answer from the delegation serverMakwaException
- on errorpublic boolean doFinalVerify(byte[] answer)
Makwa.verifyPasswordDelegate(java.lang.String, java.lang.String, makwa.MakwaDelegation...)
.answer
- the answer from the delegation servertrue
on correct passwordMakwaException
- on error