RPC_C_AUTHN_xxx

[This is preliminary documentation and subject to change.]

These values specify authentication services by identifying the security package that provides the service, such as NTLMSSP, Kerberos, or SChannel. They are assigned to the SOLE_AUTHENTICATION_SERVICE and the SOLE_AUTHENTICATION_INFO structures, as are the RPC_C_AUTHZ_xxx values. The SOLE_AUTHENTICATION_SERVICE structure is retrieved by the CoQueryAuthenticationServices function. A pointer to a SOLE_AUTHENTICATION_INFO structure is passed to the CoInitializeSecurity function. For more information on security packages identified by these values, such as NTLMSSP and Kerberos, see COM and Security Packages.

Note  NT 4.0 only supports RPC_C_AUTHN_WINNT.

Values

RPC_C_AUTHN_NONE
No authentication.
RPC_C_AUTHN_DCE_PRIVATE
DCE private key authentication.
RPC_C_AUTHN_DCE_PUBLIC
DCE public key authentication.
RPC_C_AUTHN_DEC_PUBLIC
DEC public key authentication. Reserved for future use.
RPC_C_AUTHN_GSS_NEGOTIATE
Snego security support provider.
RPC_C_AUTHN_WINNT
NTLMSSP (Windows NT LAN Manager Security Support Provider).
RPC_C_AUTHN_GSS_SCHANNEL
SChannel security support provider. This authentication service supports SSL 2.0, SSL 3.0, and PCT. It is also known as Transport Level Security (TLS). This value can be used with Windows NT 5.0 and later versions.
RPC_C_AUTHN_DPA
Not currently supported.
RPC_C_AUTHN_MSN
Not currently supported.
RPC_C_AUTHN_GSS_KERBEROS
Kerberos security support provider. This value can be used with Windows NT 5.0 and later versions.
RPC_C_AUTHN_MQ
Not currently supported.
RPC_C_AUTHN_DEFAULT
The system default authentication service. When this value is specified on Windows NT 5.0 and later versions, COM uses its normal security blanket negotiation algorithm to pick an authentication service. For more information, see Security Blanket Negotiation.

QuickInfo

  Windows NT: Use version 3.1 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in rpcdce.h.

See Also

CoInitializeSecurity, CoQueryAuthenticationServices