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 voidestablished(SMB2SessionSetup response)javax.crypto.SecretKeygetApplicationKey()javax.crypto.SecretKeygetDecryptionKey()javax.crypto.SecretKeygetEncryptionKey()byte[]getPreauthIntegrityHashValue()javax.crypto.SecretKeygetSessionKey()javax.crypto.SecretKeygetSigningKey()booleanisAnonymous()booleanisEncryptData()booleanisGuest()booleanisSigningRequired()voidsetApplicationKey(javax.crypto.SecretKey applicationKey)voidsetDecryptionKey(javax.crypto.SecretKey decryptionKey)voidsetEncryptData(boolean encryptData)voidsetEncryptionKey(javax.crypto.SecretKey encryptionKey)voidsetPreauthIntegrityHashValue(byte[] preauthIntegrityHashValue)voidsetSessionKey(javax.crypto.spec.SecretKeySpec sessionKey)voidsetSigningKey(javax.crypto.SecretKey signingKey)voidsetSigningRequired(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)
-
-