Module jcifs

Class ServerData

java.lang.Object
org.codelibs.jcifs.smb.internal.smb1.com.ServerData

public class ServerData extends Object
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 Details

    • sflags

      public byte sflags
      Server flags from the SMB header.
    • sflags2

      public int sflags2
      Server flags2 field from the SMB header.
    • smaxMpxCount

      public int smaxMpxCount
      Maximum number of outstanding multiplex requests.
    • maxBufferSize

      public int maxBufferSize
      Maximum buffer size the server can handle.
    • sessKey

      public int sessKey
      Session key for this connection.
    • scapabilities

      public int scapabilities
      Server capabilities bitmap.
    • oemDomainName

      public String oemDomainName
      OEM domain name of the server.
    • securityMode

      public int securityMode
      Security mode flags.
    • security

      public int security
      Security settings for the session.
    • encryptedPasswords

      public boolean encryptedPasswords
      Whether the server requires encrypted passwords.
    • signaturesEnabled

      public boolean signaturesEnabled
      Whether message signing is enabled.
    • signaturesRequired

      public boolean signaturesRequired
      Whether message signing is required.
    • maxNumberVcs

      public int maxNumberVcs
      Maximum number of virtual circuits.
    • maxRawSize

      public int maxRawSize
      Maximum raw buffer size for raw read/write operations.
    • serverTime

      public long serverTime
      Server's system time.
    • serverTimeZone

      public int serverTimeZone
      Server's time zone offset in minutes from UTC.
    • encryptionKeyLength

      public int encryptionKeyLength
      Length of the encryption key.
    • encryptionKey

      public byte[] encryptionKey
      Encryption key for password encryption.
    • guid

      public byte[] guid
      Server'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.