public class PreauthIntegrityNegotiateContext extends Object implements NegotiateContextRequest, NegotiateContextResponse
| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_ALGO_SHA512
SHA-512
|
static int |
NEGO_CTX_PREAUTH_TYPE
Context type
|
| Constructor and Description |
|---|
PreauthIntegrityNegotiateContext() |
PreauthIntegrityNegotiateContext(Configuration config,
int[] hashAlgos,
byte[] salt) |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(byte[] buffer,
int bufferIndex,
int len) |
int |
encode(byte[] dst,
int dstIndex) |
int |
getContextType() |
int[] |
getHashAlgos() |
byte[] |
getSalt() |
int |
size() |
public static final int NEGO_CTX_PREAUTH_TYPE
public static final int HASH_ALGO_SHA512
public PreauthIntegrityNegotiateContext(Configuration config, int[] hashAlgos, byte[] salt)
config - hashAlgos - salt - public PreauthIntegrityNegotiateContext()
public byte[] getSalt()
public int[] getHashAlgos()
public int getContextType()
getContextType in interface NegotiateContextRequestgetContextType in interface NegotiateContextResponseNegotiateContextRequest.getContextType()public int encode(byte[] dst,
int dstIndex)
encode in interface EncodableEncodable.encode(byte[], int)public int decode(byte[] buffer,
int bufferIndex,
int len)
throws SMBProtocolDecodingException
decode in interface DecodableSMBProtocolDecodingExceptionDecodable.decode(byte[], int, int)public int size()
size in interface EncodableEncodable.size()Copyright © 2023. All rights reserved.