|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jcifs.ntlmssp.NtlmMessage
Abstract superclass for all NTLMSSP messages.
Field Summary | |
protected static byte[] |
NTLMSSP_SIGNATURE
The NTLMSSP "preamble". |
Constructor Summary | |
NtlmMessage()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final byte[] NTLMSSP_SIGNATURE
Constructor Detail |
public NtlmMessage()
Method Detail |
public int getFlags()
int
containing the flags in use for this
message.public void setFlags(int flags)
flags
- The flags for this message.public boolean getFlag(int flag)
flag
- The flag to test (i.e., NTLMSSP_NEGOTIATE_OEM
).
boolean
indicating whether the flag is set.public void setFlag(int flag, boolean value)
flag
- The flag to set/clear (i.e.,
NTLMSSP_NEGOTIATE_OEM
).value
- Indicates whether to set (true
) or
clear (false
) the specified flag.public abstract byte[] toByteArray()
byte[]
containing the raw message material.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |