jcifs.ntlmssp

Interface NtlmFlags

Known Implementing Classes:
NtlmMessage, NtlmSsp, Type1Message, Type2Message, Type3Message

public interface NtlmFlags

Flags used during negotiation of NTLMSSP authentication.

Field Summary

static int
NTLMSSP_NEGOTIATE_128
Indicates that 128-bit encryption is supported.
static int
NTLMSSP_NEGOTIATE_56
Indicates that 56-bit encryption is supported.
static int
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
Indicates that authenticated communication between the client and server should carry a "dummy" digital signature.
static int
NTLMSSP_NEGOTIATE_DATAGRAM_STYLE
Indicates datagram authentication.
static int
NTLMSSP_NEGOTIATE_KEY_EXCH
static int
NTLMSSP_NEGOTIATE_LM_KEY
Indicates that the LAN Manager session key should be used for signing and sealing authenticated communication.
static int
NTLMSSP_NEGOTIATE_LOCAL_CALL
Sent by the server to indicate that the server and client are on the same machine.
static int
NTLMSSP_NEGOTIATE_NETWARE
static int
NTLMSSP_NEGOTIATE_NTLM
Indicates support for NTLM authentication.
static int
NTLMSSP_NEGOTIATE_NTLM2
Indicates that the NTLM2 signing and sealing scheme should be used for protecting authenticated communications.
static int
NTLMSSP_NEGOTIATE_OEM
Indicates whether OEM strings are supported or used.
static int
NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
Indicates whether the OEM-formatted domain name in which the client workstation has membership is supplied in the Type-1 message.
static int
NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
Indicates whether the OEM-formatted workstation name is supplied in the Type-1 message.
static int
NTLMSSP_NEGOTIATE_SEAL
Specifies that communication across the authenticated channel should be encrypted (message confidentiality).
static int
NTLMSSP_NEGOTIATE_SIGN
Specifies that communication across the authenticated channel should carry a digital signature (message integrity).
static int
NTLMSSP_NEGOTIATE_TARGET_INFO
Sent by the server in the Type 2 message to indicate that it is including a Target Information block in the message.
static int
NTLMSSP_NEGOTIATE_UNICODE
Indicates whether Unicode strings are supported or used.
static int
NTLMSSP_REQUEST_ACCEPT_RESPONSE
static int
NTLMSSP_REQUEST_INIT_RESPONSE
static int
NTLMSSP_REQUEST_NON_NT_SESSION_KEY
static int
NTLMSSP_REQUEST_TARGET
Indicates whether the authentication target is requested from the server.
static int
NTLMSSP_TARGET_TYPE_DOMAIN
Sent by the server in the Type 2 message to indicate that the target authentication realm is a domain.
static int
NTLMSSP_TARGET_TYPE_SERVER
Sent by the server in the Type 2 message to indicate that the target authentication realm is a server.
static int
NTLMSSP_TARGET_TYPE_SHARE
Sent by the server in the Type 2 message to indicate that the target authentication realm is a share (presumably for share-level authentication).

Field Details

NTLMSSP_NEGOTIATE_128

public static final int NTLMSSP_NEGOTIATE_128
Indicates that 128-bit encryption is supported.
Field Value:
536870912

NTLMSSP_NEGOTIATE_56

public static final int NTLMSSP_NEGOTIATE_56
Indicates that 56-bit encryption is supported.
Field Value:
-2147483648

NTLMSSP_NEGOTIATE_ALWAYS_SIGN

public static final int NTLMSSP_NEGOTIATE_ALWAYS_SIGN
Indicates that authenticated communication between the client and server should carry a "dummy" digital signature.
Field Value:
32768

NTLMSSP_NEGOTIATE_DATAGRAM_STYLE

public static final int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE
Indicates datagram authentication.
Field Value:
64

NTLMSSP_NEGOTIATE_KEY_EXCH

public static final int NTLMSSP_NEGOTIATE_KEY_EXCH
Field Value:
1073741824

NTLMSSP_NEGOTIATE_LM_KEY

public static final int NTLMSSP_NEGOTIATE_LM_KEY
Indicates that the LAN Manager session key should be used for signing and sealing authenticated communication.
Field Value:
128

NTLMSSP_NEGOTIATE_LOCAL_CALL

public static final int NTLMSSP_NEGOTIATE_LOCAL_CALL
Sent by the server to indicate that the server and client are on the same machine. This implies that the server will include a local security context handle in the Type 2 message, for use in local authentication.
Field Value:
16384

NTLMSSP_NEGOTIATE_NETWARE

public static final int NTLMSSP_NEGOTIATE_NETWARE
Field Value:
256

NTLMSSP_NEGOTIATE_NTLM

public static final int NTLMSSP_NEGOTIATE_NTLM
Indicates support for NTLM authentication.
Field Value:
512

NTLMSSP_NEGOTIATE_NTLM2

public static final int NTLMSSP_NEGOTIATE_NTLM2
Indicates that the NTLM2 signing and sealing scheme should be used for protecting authenticated communications. This refers to a particular session security scheme, and is not related to the use of NTLMv2 authentication.
Field Value:
524288

NTLMSSP_NEGOTIATE_OEM

public static final int NTLMSSP_NEGOTIATE_OEM
Indicates whether OEM strings are supported or used.
Field Value:
2

NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED

public static final int NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
Indicates whether the OEM-formatted domain name in which the client workstation has membership is supplied in the Type-1 message. This is used in the negotation of local authentication.
Field Value:
4096

NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED

public static final int NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
Indicates whether the OEM-formatted workstation name is supplied in the Type-1 message. This is used in the negotiation of local authentication.
Field Value:
8192

NTLMSSP_NEGOTIATE_SEAL

public static final int NTLMSSP_NEGOTIATE_SEAL
Specifies that communication across the authenticated channel should be encrypted (message confidentiality).
Field Value:
32

NTLMSSP_NEGOTIATE_SIGN

public static final int NTLMSSP_NEGOTIATE_SIGN
Specifies that communication across the authenticated channel should carry a digital signature (message integrity).
Field Value:
16

NTLMSSP_NEGOTIATE_TARGET_INFO

public static final int NTLMSSP_NEGOTIATE_TARGET_INFO
Sent by the server in the Type 2 message to indicate that it is including a Target Information block in the message. The Target Information block is used in the calculation of the NTLMv2 response.
Field Value:
8388608

NTLMSSP_NEGOTIATE_UNICODE

public static final int NTLMSSP_NEGOTIATE_UNICODE
Indicates whether Unicode strings are supported or used.
Field Value:
1

NTLMSSP_REQUEST_ACCEPT_RESPONSE

public static final int NTLMSSP_REQUEST_ACCEPT_RESPONSE
Field Value:
2097152

NTLMSSP_REQUEST_INIT_RESPONSE

public static final int NTLMSSP_REQUEST_INIT_RESPONSE
Field Value:
1048576

NTLMSSP_REQUEST_NON_NT_SESSION_KEY

public static final int NTLMSSP_REQUEST_NON_NT_SESSION_KEY
Field Value:
4194304

NTLMSSP_REQUEST_TARGET

public static final int NTLMSSP_REQUEST_TARGET
Indicates whether the authentication target is requested from the server.
Field Value:
4

NTLMSSP_TARGET_TYPE_DOMAIN

public static final int NTLMSSP_TARGET_TYPE_DOMAIN
Sent by the server in the Type 2 message to indicate that the target authentication realm is a domain.
Field Value:
65536

NTLMSSP_TARGET_TYPE_SERVER

public static final int NTLMSSP_TARGET_TYPE_SERVER
Sent by the server in the Type 2 message to indicate that the target authentication realm is a server.
Field Value:
131072

NTLMSSP_TARGET_TYPE_SHARE

public static final int NTLMSSP_TARGET_TYPE_SHARE
Sent by the server in the Type 2 message to indicate that the target authentication realm is a share (presumably for share-level authentication).
Field Value:
262144