SecPkgContext_AuthorityA structure (sspi.h)
The SecPkgContext_Authority structure contains the name of the authenticating authority if one is available. It can be a certification authority (CA) or the name of a server or domain that authenticated the connection. The QueryContextAttributes (General) function uses this structure.
Syntax
typedef struct _SecPkgContext_AuthorityA {
SEC_CHAR *sAuthorityName;
} SecPkgContext_AuthorityA, *PSecPkgContext_AuthorityA;
Members
sAuthorityName
Pointer to a null-terminated string containing the name of the authenticating authority, if available.
Remarks
Note
The sspi.h header defines SecPkgContext_Authority as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | sspi.h (include Security.h) |