public class EncryptionNegotiateContext extends Object implements NegotiateContextRequest, NegotiateContextResponse
| Modifier and Type | Field and Description |
|---|---|
static int |
CIPHER_AES128_CCM
AES 128 CCM
|
static int |
CIPHER_AES128_GCM
AES 128 GCM
|
static int |
NEGO_CTX_ENC_TYPE
Context type
|
| Constructor and Description |
|---|
EncryptionNegotiateContext() |
EncryptionNegotiateContext(Configuration config,
int[] ciphers) |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(byte[] buffer,
int bufferIndex,
int len) |
int |
encode(byte[] dst,
int dstIndex) |
int[] |
getCiphers() |
int |
getContextType() |
int |
size() |
public static final int NEGO_CTX_ENC_TYPE
public static final int CIPHER_AES128_CCM
public static final int CIPHER_AES128_GCM
public EncryptionNegotiateContext(Configuration config, int[] ciphers)
config - ciphers - public EncryptionNegotiateContext()
public int[] getCiphers()
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.