Class SMB2EncryptionCapabilities
- java.lang.Object
-
- com.hierynomus.mssmb2.messages.negotiate.SMB2NegotiateContext
-
- com.hierynomus.mssmb2.messages.negotiate.SMB2EncryptionCapabilities
-
public class SMB2EncryptionCapabilities extends SMB2NegotiateContext
[MS-SMB2].pdf 2.2.3.1.2 / 2.2.4.1.2 SMB2_ENCRYPTION_CAPABILITIES Request/Response
-
-
Constructor Summary
Constructors Constructor Description SMB2EncryptionCapabilities()
SMB2EncryptionCapabilities(java.util.List<SMB3EncryptionCipher> cipherList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SMB3EncryptionCipher>
getCipherList()
protected void
readContext(SMBBuffer buffer, int dataSize)
Read the negotiate contextprotected int
writeContext(SMBBuffer buffer)
Write the negotiate context fields into the buffer, as specified in the [MS-SMB2].pdf specification.-
Methods inherited from class com.hierynomus.mssmb2.messages.negotiate.SMB2NegotiateContext
factory, getNegotiateContextType, read, write
-
-
-
-
Constructor Detail
-
SMB2EncryptionCapabilities
public SMB2EncryptionCapabilities()
-
SMB2EncryptionCapabilities
public SMB2EncryptionCapabilities(java.util.List<SMB3EncryptionCipher> cipherList)
-
-
Method Detail
-
writeContext
protected int writeContext(SMBBuffer buffer)
Description copied from class:SMB2NegotiateContext
Write the negotiate context fields into the buffer, as specified in the [MS-SMB2].pdf specification.- Overrides:
writeContext
in classSMB2NegotiateContext
-
readContext
protected void readContext(SMBBuffer buffer, int dataSize) throws Buffer.BufferException
Description copied from class:SMB2NegotiateContext
Read the negotiate context- Overrides:
readContext
in classSMB2NegotiateContext
- Parameters:
buffer
- the buffer to read context- Throws:
Buffer.BufferException
-
getCipherList
public java.util.List<SMB3EncryptionCipher> getCipherList()
-
-