public byte[] createInitialResponse()
throws com.netscape.sasl.SaslException
Netscape specific function.
Specified by:
createInitialResponse in interface com.netscape.sasl.SaslClient
evaluateChallenge
public byte[] evaluateChallenge(byte[] challengeData)
throws com.netscape.sasl.SaslException
Processes the challenge data.
The server sends a challenge data using which the client must
process using GSS_Init_sec_context.
As per RFC 2222, when GSS_S_COMPLETE is returned, we do
an extra handshake to determine the negotiated security protection
and buffer sizes.
Specified by:
evaluateChallenge in interface com.netscape.sasl.SaslClient
Parameters:
challengeData - A non-null byte array containing the
challenge data from the server.
Returns:
A non-null byte array containing the response to be
sent to the server.