Package com.hierynomus.smbj.session
Class SessionContext
- java.lang.Object
-
- com.hierynomus.smbj.session.SessionContext
-
public class SessionContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SessionContext()
-
Method Summary
Modifier and Type Method Description void
established(SMB2SessionSetup response)
javax.crypto.SecretKey
getApplicationKey()
javax.crypto.SecretKey
getDecryptionKey()
javax.crypto.SecretKey
getEncryptionKey()
byte[]
getPreauthIntegrityHashValue()
javax.crypto.SecretKey
getSessionKey()
javax.crypto.SecretKey
getSigningKey()
boolean
isAnonymous()
boolean
isEncryptData()
boolean
isGuest()
boolean
isSigningRequired()
void
setApplicationKey(javax.crypto.SecretKey applicationKey)
void
setDecryptionKey(javax.crypto.SecretKey decryptionKey)
void
setEncryptData(boolean encryptData)
void
setEncryptionKey(javax.crypto.SecretKey encryptionKey)
void
setPreauthIntegrityHashValue(byte[] preauthIntegrityHashValue)
void
setSessionKey(javax.crypto.spec.SecretKeySpec sessionKey)
void
setSigningKey(javax.crypto.SecretKey signingKey)
void
setSigningRequired(boolean signingRequired)
-
-
-
Method Detail
-
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(javax.crypto.spec.SecretKeySpec sessionKey)
-
setPreauthIntegrityHashValue
public void setPreauthIntegrityHashValue(byte[] preauthIntegrityHashValue)
-
getPreauthIntegrityHashValue
public byte[] getPreauthIntegrityHashValue()
-
getSessionKey
public javax.crypto.SecretKey getSessionKey()
-
getSigningKey
public javax.crypto.SecretKey getSigningKey()
-
getDecryptionKey
public javax.crypto.SecretKey getDecryptionKey()
-
getEncryptionKey
public javax.crypto.SecretKey getEncryptionKey()
-
getApplicationKey
public javax.crypto.SecretKey getApplicationKey()
-
setEncryptionKey
public void setEncryptionKey(javax.crypto.SecretKey encryptionKey)
-
setDecryptionKey
public void setDecryptionKey(javax.crypto.SecretKey decryptionKey)
-
setSigningKey
public void setSigningKey(javax.crypto.SecretKey signingKey)
-
setApplicationKey
public void setApplicationKey(javax.crypto.SecretKey applicationKey)
-
-