Class SMB2PreauthIntegrityCapabilities
java.lang.Object
com.hierynomus.mssmb2.messages.negotiate.SMB2NegotiateContext
com.hierynomus.mssmb2.messages.negotiate.SMB2PreauthIntegrityCapabilities
[MS-SMB2].pdf 2.2.3.1.1 / 2.2.4.1.1 SMB2_PREAUTH_INTEGRITY_CAPABILITIES Request/Response
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSMB2PreauthIntegrityCapabilities(List<SMB3HashAlgorithm> hashAlgorithms, byte[] salt) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getSalt()protected voidreadContext(SMBBuffer buffer, int dataSize) Read the negotiate contextprotected intwriteContext(SMBBuffer buffer) Write the negotiate context fields into the buffer, as specified in the [MS-SMB2].pdf specification.Methods inherited from class SMB2NegotiateContext
factory, getNegotiateContextType, read, write
-
Field Details
-
DEFAULT_SALT_LENGTH
public static final int DEFAULT_SALT_LENGTH- See Also:
-
hashAlgorithms
-
salt
private byte[] salt
-
-
Constructor Details
-
SMB2PreauthIntegrityCapabilities
public SMB2PreauthIntegrityCapabilities() -
SMB2PreauthIntegrityCapabilities
-
-
Method Details
-
writeContext
Description copied from class:SMB2NegotiateContextWrite the negotiate context fields into the buffer, as specified in the [MS-SMB2].pdf specification.- Overrides:
writeContextin classSMB2NegotiateContext
-
readContext
Description copied from class:SMB2NegotiateContextRead the negotiate context- Overrides:
readContextin classSMB2NegotiateContext- Parameters:
buffer- the buffer to read context- Throws:
Buffer.BufferException
-
getSalt
public byte[] getSalt() -
getHashAlgorithms
-