public class Type1NTLMMessage extends NTLMMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
MinimalMessageLength |
static int |
OffsetData |
static int |
OffsetFlags |
BufferHeaderLen, OffsetSignature, OffsetType| Constructor and Description |
|---|
Type1NTLMMessage()
Default constructor
|
Type1NTLMMessage(byte[] buf)
Class constructor
|
Type1NTLMMessage(byte[] buf,
int offset,
int len)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildType1(int flags,
java.lang.String domain,
java.lang.String workstation)
Build a type 1 message
|
java.lang.String |
getDomain()
Return the domain name
|
int |
getFlags()
Return the flags value
|
java.lang.String |
getWorkstation()
Return the workstation name
|
boolean |
hasDomain()
Check if the domain security buffer is included
|
boolean |
hasWorkstation()
Check if the workstation security buffer is included
|
protected void |
setFlags(int flags)
Set the message flags
|
java.lang.String |
toString()
Return the type 1 message as a string
|
copyFrom, getByteOffset, getBytes, getByteValue, getIntValue, getLength, getRawBytes, getRawString, getShortValue, getStringAllocatedLength, getStringLength, getStringOffset, getStringValue, hasFlag, initializeHeader, isMessageType, isNTLMType, isNTLMType, setByteValue, setIntValue, setLength, setMessageType, setRawBytes, setRawInts, setRawString, setShortValue, setStringValue, zeroBytespublic static final int MinimalMessageLength
public static final int OffsetFlags
public static final int OffsetData
public Type1NTLMMessage()
public Type1NTLMMessage(byte[] buf)
buf - byte[]public Type1NTLMMessage(byte[] buf,
int offset,
int len)
buf - byte[]offset - intlen - intpublic int getFlags()
getFlags in class NTLMMessagepublic final boolean hasDomain()
public final java.lang.String getDomain()
public final boolean hasWorkstation()
public final java.lang.String getWorkstation()
public final void buildType1(int flags,
java.lang.String domain,
java.lang.String workstation)
flags - intdomain - Stringworkstation - Stringprotected void setFlags(int flags)
setFlags in class NTLMMessageflags - intpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.