Querying the Attributes of an Schannel Context
The QueryContextAttributes (Schannel) function provides Schannel-specific information about a security context. Most of the information is originally specified when the context is created by using the client InitializeSecurityContext (Schannel) or server AcceptSecurityContext (Schannel) function. Some information is specified when obtaining a handle to the credential used to create the context. For more information, see Obtaining Schannel Credentials.