public class SMB2SessionSetup extends SMB2Packet
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SMB2SessionSetup.SMB2SecurityMode |
|
static class |
SMB2SessionSetup.SMB2SessionFlags |
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize| Constructor | Description |
|---|---|
SMB2SessionSetup() |
|
SMB2SessionSetup(SMB2Dialect negotiatedDialect,
java.util.Set<SMB2SessionSetup.SMB2SecurityMode> securityMode,
java.util.Set<SMB2GlobalCapability> capabilities) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getSecurityBuffer() |
|
java.util.Set<SMB2SessionSetup.SMB2SessionFlags> |
getSessionFlags() |
|
protected void |
readMessage(SMBBuffer buffer) |
Read the packet body, this should be implemented by the various packet types.
|
void |
setPreviousSessionId(long previousSessionId) |
|
void |
setSecurityBuffer(byte[] securityBuffer) |
|
protected void |
writeTo(SMBBuffer buffer) |
Write the message fields into the buffer, as specified in the [MS-SMB2].pdf specification.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getMessageEndPos, getMessageStartPos, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, setCreditsAssigned, toString, writepublic SMB2SessionSetup()
public SMB2SessionSetup(SMB2Dialect negotiatedDialect, java.util.Set<SMB2SessionSetup.SMB2SecurityMode> securityMode, java.util.Set<SMB2GlobalCapability> capabilities)
protected void writeTo(SMBBuffer buffer)
SMB2PacketwriteTo in class SMB2Packetprotected void readMessage(SMBBuffer buffer) throws Buffer.BufferException
SMB2PacketreadMessage in class SMB2PacketBuffer.BufferExceptionpublic java.util.Set<SMB2SessionSetup.SMB2SessionFlags> getSessionFlags()
public void setPreviousSessionId(long previousSessionId)
public void setSecurityBuffer(byte[] securityBuffer)
public byte[] getSecurityBuffer()