SecPkgContext_NegotiationInfo structure
The SecPkgContext_NegotiationInfo structure contains information on the security package that is being set up or has been set up, and also gives the status on the negotiation to set up the security package.
Syntax
typedef struct _SecPkgContext_NegotiationInfo { PSecPkgInfo PackageInfo; unsigned long NegotiationState; } SecPkgContext_NegotiationInfo, *PSecPkgContext_NegotiationInfo;
Members
- PackageInfo
-
Pointer to a SecPkgInfo structure that provides general information about the security package chosen in the negotiate process, such as the name and capabilities of the package.
- NegotiationState
-
Indicator of the state of the negotiation for the security package identified in the PackageInfo member. This attribute can be queried from the context handle before the setup is complete, such as when ISC returns SEC_I_CONTINUE_NEEDED.
The following table shows values returned in this member.
Value Meaning - SECPKG_NEGOTIATION_COMPLETE
Negotiation has been completed.
- SECPKG_NEGOTIATION_OPTIMISTIC
Negotiations not yet completed.
- SECPKG_NEGOTIATION_IN_PROGRESS
Negotiations in progress.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Unicode and ANSI names |
SecPkgContext_NegotiationInfoW (Unicode) and SecPkgContext_NegotiationInfoA (ANSI) |