Export (0) Print
Expand All

Authentication Service Constants

Defines authentication services by identifying the security package that provides the service, such as NTLMSSP, Kerberos, or Schannel.

Constant/valueDescription
RPC_C_AUTHN_NONE
0

No authentication.

RPC_C_AUTHN_DCE_PRIVATE
1

DCE private key authentication.

RPC_C_AUTHN_DCE_PUBLIC
2

DCE public key authentication.

RPC_C_AUTHN_DEC_PUBLIC
4

DEC public key authentication. Reserved for future use.

RPC_C_AUTHN_GSS_NEGOTIATE
9

Snego security support provider.

RPC_C_AUTHN_WINNT
10

NTLMSSP

RPC_C_AUTHN_GSS_SCHANNEL
14

Schannel security support provider. This authentication service supports SSL 2.0, SSL 3.0, TLS, and PCT.

RPC_C_AUTHN_GSS_KERBEROS
16

Kerberos security support provider.

RPC_C_AUTHN_DPA
17

DPA security support provider.

RPC_C_AUTHN_MSN
18

MSN security support provider.

RPC_C_AUTHN_KERNEL
20

Kernel security support provider.

RPC_C_AUTHN_DIGEST
21

Digest security support provider.

RPC_C_AUTHN_NEGO_EXTENDER
30

NEGO extender security support provider.

RPC_C_AUTHN_PKU2U
31

PKU2U security support provider.

RPC_C_AUTHN_MQ
100

MQ security support provider.

RPC_C_AUTHN_DEFAULT
0xFFFFFFFFL

The system default authentication service. When this value is specified, COM uses its normal security blanket negotiation algorithm to pick an authentication service. For more information, see Security Blanket Negotiation.

Remarks

These constants are used in the SOLE_AUTHENTICATION_SERVICE and the SOLE_AUTHENTICATION_INFO structures. The SOLE_AUTHENTICATION_SERVICE structure is passed by the server to the CoInitializeSecurity function and can be retrieved by the CoQueryAuthenticationServices function. A pointer to a SOLE_AUTHENTICATION_INFO structure is passed by the client to CoInitializeSecurity. For more information on the security packages identified by these values, such as NTLMSSP and Kerberos, see COM and Security Packages.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

RpcDce.h

See also

CoInitializeSecurity
CoQueryAuthenticationServices
IClientSecurity
SOLE_AUTHENTICATION_INFO
SOLE_AUTHENTICATION_SERVICE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft