Class SessionContext

java.lang.Object
com.hierynomus.smbj.session.SessionContext

public class SessionContext extends Object
  • Field Details

    • sessionFlags

      private Set<SMB2SessionSetup.SMB2SessionFlags> sessionFlags
    • signingRequired

      private boolean signingRequired
    • encryptData

      private boolean encryptData
    • sessionKey

      private SecretKey sessionKey
    • signingKey

      private SecretKey signingKey
    • decryptionKey

      private SecretKey decryptionKey
    • encryptionKey

      private SecretKey encryptionKey
    • applicationKey

      private SecretKey applicationKey
    • preauthIntegrityHashValue

      byte[] preauthIntegrityHashValue
  • Constructor Details

    • SessionContext

      public SessionContext()
  • Method Details

    • established

      public void established(SMB2SessionSetup response)
    • isSigningRequired

      public boolean isSigningRequired()
    • setSigningRequired

      public void setSigningRequired(boolean signingRequired)
    • isEncryptData

      public boolean isEncryptData()
    • setEncryptData

      public void setEncryptData(boolean encryptData)
    • isAnonymous

      public boolean isAnonymous()
    • isGuest

      public boolean isGuest()
    • setSessionKey

      public void setSessionKey(SecretKeySpec sessionKey)
    • setPreauthIntegrityHashValue

      public void setPreauthIntegrityHashValue(byte[] preauthIntegrityHashValue)
    • getPreauthIntegrityHashValue

      public byte[] getPreauthIntegrityHashValue()
    • getSessionKey

      public SecretKey getSessionKey()
    • getSigningKey

      public SecretKey getSigningKey()
    • getDecryptionKey

      public SecretKey getDecryptionKey()
    • getEncryptionKey

      public SecretKey getEncryptionKey()
    • getApplicationKey

      public SecretKey getApplicationKey()
    • setEncryptionKey

      public void setEncryptionKey(SecretKey encryptionKey)
    • setDecryptionKey

      public void setDecryptionKey(SecretKey decryptionKey)
    • setSigningKey

      public void setSigningKey(SecretKey signingKey)
    • setApplicationKey

      public void setApplicationKey(SecretKey applicationKey)