java.lang.Object
org.codelibs.jcifs.smb.internal.smb1.com.ServerData
Container for SMB server negotiation data.
This class holds the server capabilities, configuration, and security
parameters received during SMB protocol negotiation.
Stores server-specific data obtained during SMB1 protocol negotiation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanWhether the server requires encrypted passwords.byte[]Encryption key for password encryption.intLength of the encryption key.byte[]Server's globally unique identifier.intMaximum buffer size the server can handle.intMaximum number of virtual circuits.intMaximum raw buffer size for raw read/write operations.OEM domain name of the server.intServer capabilities bitmap.intSecurity settings for the session.intSecurity mode flags.longServer's system time.intServer's time zone offset in minutes from UTC.intSession key for this connection.byteServer flags from the SMB header.intServer flags2 field from the SMB header.booleanWhether message signing is enabled.booleanWhether message signing is required.intMaximum number of outstanding multiplex requests. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
sflags
public byte sflagsServer flags from the SMB header. -
sflags2
public int sflags2Server flags2 field from the SMB header. -
smaxMpxCount
public int smaxMpxCountMaximum number of outstanding multiplex requests. -
maxBufferSize
public int maxBufferSizeMaximum buffer size the server can handle. -
sessKey
public int sessKeySession key for this connection. -
scapabilities
public int scapabilitiesServer capabilities bitmap. -
oemDomainName
OEM domain name of the server. -
securityMode
public int securityModeSecurity mode flags. -
security
public int securitySecurity settings for the session. -
encryptedPasswords
public boolean encryptedPasswordsWhether the server requires encrypted passwords. -
signaturesEnabled
public boolean signaturesEnabledWhether message signing is enabled. -
signaturesRequired
public boolean signaturesRequiredWhether message signing is required. -
maxNumberVcs
public int maxNumberVcsMaximum number of virtual circuits. -
maxRawSize
public int maxRawSizeMaximum raw buffer size for raw read/write operations. -
serverTime
public long serverTimeServer's system time. -
serverTimeZone
public int serverTimeZoneServer's time zone offset in minutes from UTC. -
encryptionKeyLength
public int encryptionKeyLengthLength of the encryption key. -
encryptionKey
public byte[] encryptionKeyEncryption key for password encryption. -
guid
public byte[] guidServer's globally unique identifier.
-
-
Constructor Details
-
ServerData
public ServerData()Default constructor for ServerData. Creates an empty server data container to be populated during SMB negotiation.
-