initSecContext
. During context establishment replay detection is not an option and is a function of the underlying mechanism's capabilities. Not all mechanisms support replay detection and some mechanisms might require replay detection even if the application doesn't. Therefore, the application should check to see if the request was honored with the {@link #getReplayDetState() getReplayDetState} method. If replay detection is enabled then the{@link MessageProp#isDuplicateToken() MessageProp.isDuplicateToken} and {@link MessageProp#isOldToken() MessageProp.isOldToken} methods will return valid results for the MessageProp
object that is passed in to the unwrap
method or the verifyMIC
method.
@param state a boolean value indicating whether replay detectionshould be enabled over the established context or not. @see #getReplayDetState() @throws GSSException containing the following major error codes: {@link GSSException#FAILURE GSSException.FAILURE}
|
|