Querying the Attributes of an Schannel Credential

The QueryCredentialsAttributes function provides Schannel-specific information about a credential. This information is originally specified when the credential is created. For more information, see Obtaining Schannel Credentials. The information reported by this function is valid for any connections (security contexts) created by using the specified credential.