Specifies the attribute of the context to be returned. This parameter can be one of the following values.
| Value | Meaning |
- SECPKG_ATTR_ACCESS_TOKEN
| The pBuffer parameter contains a pointer to a SecPkgContext_AccessToken structure.
Returns a handle to the access token.
|
- SECPKG_ATTR_APP_DATA
| The pBuffer parameter contains a pointer to a SecPkgContext_SessionAppData structure.
Returns or specifies application data for the session.
This attribute is supported only by the Schannel security package.
|
- SECPKG_ATTR_AUTHORITY
| The pBuffer parameter contains a pointer to a SecPkgContext_Authority structure.
Queries the name of the authenticating authority.
|
- SECPKG_ATTR_CONNECTION_INFO
| The pBuffer parameter contains a pointer to a SecPkgContext_ConnectionInfo structure.
Returns detailed information on the established connection.
|
- SECPKG_ATTR_DCE_INFO
| The pBuffer parameter contains a pointer to a SecPkgContext_DceInfo structure.
Queries for authorization data used by DCE services.
|
- SECPKG_ATTR_EAP_KEY_BLOCK
| The pBuffer parameter contains a pointer to a SecPkgContext_EapKeyBlock structure.
Queries for key data used by the EAP TLS protocol.
This attribute is supported only by the Schannel security package.
|
- SECPKG_ATTR_ENDPOINT_BINDINGS
- 26
| The pBuffer parameter contains a pointer to a SecPkgContext_Bindings structure that contains channel binding information.
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000: This value is not supported.
|
- SECPKG_ATTR_FLAGS
| The pBuffer parameter contains a pointer to a SecPkgContext_Flags structure.
Returns information about the negotiated context flags.
|
- SECPKG_ATTR_ISSUER_LIST_EX
| The pBuffer parameter contains a pointer to a SecPkgContext_IssuerListInfoEx structure.
Returns a list of certificate issuers that are accepted by the server.
This attribute is supported only by the Schannel security package.
|
- SECPKG_ATTR_KEY_INFO
| The pBuffer parameter contains a pointer to a SecPkgContext_KeyInfo structure.
Queries information about the keys used in a security context.
|
- SECPKG_ATTR_LIFESPAN
| The pBuffer parameter contains a pointer to a SecPkgContext_Lifespan structure.
Queries the life span of the context.
|
- SECPKG_ATTR_LOCAL_CERT_CONTEXT
| The pBuffer parameter contains a pointer to a PCCERT_CONTEXT
structure.
Finds a certificate context that contains a local end certificate.
This attribute is supported only by the Schannel security package.
|
- SECPKG_ATTR_LOCAL_CRED
| The pBuffer parameter contains a pointer to a SecPkgContext_LocalCredentialInfo structure. (obsolete)
Superseded by SECPKG_ATTR_LOCAL_CERT_CONTEXT.
|
- SECPKG_ATTR_NAMES
| The pBuffer parameter contains a pointer to a SecPkgContext_Names structure.
Queries the name associated with the context.
|
- SECPKG_ATTR_NATIVE_NAMES
| The pBuffer parameter contains a pointer to a SecPkgContext_NativeNames structure.
Returns the principal name (CNAME) from the outbound ticket.
|
- SECPKG_ATTR_NEGOTIATION_INFO
| The pBuffer parameter contains a pointer to a SecPkgContext_NegotiationInfo structure.
Returns information about the security package to be used with the negotiation process and the current state of the negotiation for the use of that package.
|
- SECPKG_ATTR_PACKAGE_INFO
| The pBuffer parameter contains a pointer to a SecPkgContext_PackageInfo
structure.
Returns information on the SSP in use.
|
- SECPKG_ATTR_PASSWORD_EXPIRY
| The pBuffer parameter contains a pointer to a SecPkgContext_PasswordExpiry structure.
Returns password expiration information.
|
- SECPKG_ATTR_REMOTE_CERT_CONTEXT
| The pBuffer parameter contains a pointer to a PCCERT_CONTEXT
structure.
Finds a certificate context that contains the end certificate supplied by the server.
This attribute is supported only by the Schannel security package.
|
- SECPKG_ATTR_ROOT_STORE
| The pBuffer parameter contains a pointer to a HCERTCONTEXT.
Finds a certificate context that contains a certificate supplied by the Root store.
|
- SECPKG_ATTR_SESSION_INFO
| The pBuffer parameter contains a pointer to a SecPkgContext_SessionInfo structure.
Returns information about the session.
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000: This value is not supported.
|
- SECPKG_ATTR_SESSION_KEY
| The pBuffer parameter contains a pointer to a SecPkgContext_SessionKey structure.
Returns information about the session keys.
|
- SECPKG_ATTR_SIZES
| The pBuffer parameter contains a pointer to a SecPkgContext_Sizes structure.
Queries the sizes of the structures used in the per-message functions.
|
- SECPKG_ATTR_STREAM_SIZES
| The pBuffer parameter contains a pointer to a SecPkgContext_StreamSizes structure.
Queries the sizes of the various stream components used in the per-message functions.
|
- SECPKG_ATTR_SUPPORTED_SIGNATURES
- 0x66
| The pBuffer parameter contains a pointer to a SecPkgContext_SupportedSignatures structure.
This value returns information about the signature types that are supported for the connection.
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000: This value is not supported.
|
- SECPKG_ATTR_TARGET_INFORMATION
| The pBuffer parameter contains a pointer to a SecPkgContext_TargetInformation structure.
Returns information about the name of the remote server.
|
- SECPKG_ATTR_UNIQUE_BINDINGS
- 25
| The pBuffer parameter contains a pointer to a SecPkgContext_Bindings structure that contains channel binding information.
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000: This value is not supported.
|