سؤال

I cannot find what SSPI function should I have to call to get the type of protocol that Windows picked up after the AcquireCredentialsHandle() with Negotiate option... !?

هل كانت مفيدة؟

المحلول

Once negotiation is complete you call QueryContextAttributes() on the negotiated context and specify SECPKG_ATTR_PACKAGE_INFO.

You will already have the negotiated attributes and context expiry details from the last call to InitializeSecurityContext() or AcceptSecurityContext()

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top