Class SessionContext
java.lang.Object
com.hierynomus.smbj.session.SessionContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidestablished(SMB2SessionSetup response) byte[]booleanbooleanbooleanisGuest()booleanvoidsetApplicationKey(SecretKey applicationKey) voidsetDecryptionKey(SecretKey decryptionKey) voidsetEncryptData(boolean encryptData) voidsetEncryptionKey(SecretKey encryptionKey) voidsetPreauthIntegrityHashValue(byte[] preauthIntegrityHashValue) voidsetSessionKey(SecretKeySpec sessionKey) voidsetSigningKey(SecretKey signingKey) voidsetSigningRequired(boolean signingRequired)
-
Field Details
-
sessionFlags
-
signingRequired
private boolean signingRequired -
encryptData
private boolean encryptData -
sessionKey
-
signingKey
-
decryptionKey
-
encryptionKey
-
applicationKey
-
preauthIntegrityHashValue
byte[] preauthIntegrityHashValue
-
-
Constructor Details
-
SessionContext
public SessionContext()
-
-
Method Details
-
established
-
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
-
setPreauthIntegrityHashValue
public void setPreauthIntegrityHashValue(byte[] preauthIntegrityHashValue) -
getPreauthIntegrityHashValue
public byte[] getPreauthIntegrityHashValue() -
getSessionKey
-
getSigningKey
-
getDecryptionKey
-
getEncryptionKey
-
getApplicationKey
-
setEncryptionKey
-
setDecryptionKey
-
setSigningKey
-
setApplicationKey
-