jcifs.ntlmssp
public abstract class NtlmMessage extends Object implements NtlmFlags
Field Summary | |
---|---|
protected static byte[] | NTLMSSP_SIGNATURE
The NTLMSSP "preamble". |
Method Summary | |
---|---|
boolean | getFlag(int flag)
Returns the status of the specified flag.
|
int | getFlags()
Returns the flags currently in use for this message.
|
void | setFlag(int flag, boolean value)
Sets or clears the specified flag.
|
void | setFlags(int flags)
Sets the flags for this message.
|
abstract byte[] | toByteArray()
Returns the raw byte representation of this message.
|
Parameters: flag The flag to test (i.e., NTLMSSP_NEGOTIATE_OEM
).
Returns: A boolean
indicating whether the flag is set.
Returns: An int
containing the flags in use for this
message.
Parameters: flag The flag to set/clear (i.e.,
NTLMSSP_NEGOTIATE_OEM
). value Indicates whether to set (true
) or
clear (false
) the specified flag.
Parameters: flags The flags for this message.
Returns: A byte[]
containing the raw message material.