| java.lang.Object jcifs.ntlmssp.NtlmMessage
All known Subclasses: jcifs.ntlmssp.Type3Message, jcifs.ntlmssp.Type2Message, jcifs.ntlmssp.Type1Message,
NtlmMessage | abstract public class NtlmMessage implements NtlmFlags(Code) | | Abstract superclass for all NTLMSSP messages.
|
Method Summary | |
public boolean | getFlag(int flag) Returns the status of the specified flag.
Parameters: flag - The flag to test (i.e., NTLMSSP_NEGOTIATE_OEM ). | public int | getFlags() Returns the flags currently in use for this message. | static String | getOEMEncoding() | static byte[] | readSecurityBuffer(byte[] src, int index) | static int | readULong(byte[] src, int index) | static int | readUShort(byte[] src, int index) | public void | setFlag(int flag, boolean value) Sets or clears the specified flag. | public void | setFlags(int flags) Sets the flags for this message. | abstract public byte[] | toByteArray() Returns the raw byte representation of this message. | static void | writeSecurityBuffer(byte[] dest, int offset, int bodyOffset, byte[] src) | static void | writeULong(byte[] dest, int offset, int ulong) | static void | writeUShort(byte[] dest, int offset, int ushort) |
NTLMSSP_SIGNATURE | final protected static byte[] NTLMSSP_SIGNATURE(Code) | | The NTLMSSP "preamble".
|
getFlag | public boolean getFlag(int flag)(Code) | | Returns the status of the specified flag.
Parameters: flag - The flag to test (i.e., NTLMSSP_NEGOTIATE_OEM ). A boolean indicating whether the flag is set. |
getFlags | public int getFlags()(Code) | | Returns the flags currently in use for this message.
An int containing the flags in use for thismessage. |
readSecurityBuffer | static byte[] readSecurityBuffer(byte[] src, int index)(Code) | | |
readULong | static int readULong(byte[] src, int index)(Code) | | |
readUShort | static int readUShort(byte[] src, int index)(Code) | | |
setFlag | public void setFlag(int flag, boolean value)(Code) | | Sets or clears the specified flag.
Parameters: flag - The flag to set/clear (i.e.,NTLMSSP_NEGOTIATE_OEM ). Parameters: value - Indicates whether to set (true ) orclear (false ) the specified flag. |
setFlags | public void setFlags(int flags)(Code) | | Sets the flags for this message.
Parameters: flags - The flags for this message. |
toByteArray | abstract public byte[] toByteArray()(Code) | | Returns the raw byte representation of this message.
A byte[] containing the raw message material. |
writeSecurityBuffer | static void writeSecurityBuffer(byte[] dest, int offset, int bodyOffset, byte[] src)(Code) | | |
writeULong | static void writeULong(byte[] dest, int offset, int ulong)(Code) | | |
writeUShort | static void writeUShort(byte[] dest, int offset, int ushort)(Code) | | |
|
|