Package com.hierynomus.smbj.session
Class SessionContext
java.lang.Object
com.hierynomus.smbj.session.SessionContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
established
(SMB2SessionSetup response) byte[]
boolean
boolean
boolean
isGuest()
boolean
void
setApplicationKey
(SecretKey applicationKey) void
setDecryptionKey
(SecretKey decryptionKey) void
setEncryptData
(boolean encryptData) void
setEncryptionKey
(SecretKey encryptionKey) void
setPreauthIntegrityHashValue
(byte[] preauthIntegrityHashValue) void
setSessionKey
(SecretKeySpec sessionKey) void
setSigningKey
(SecretKey signingKey) void
setSigningRequired
(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
-