Compartir a través de


Initializing the SSPI (Windows CE 5.0)

Send Feedback

To use SSPI, both the client and the server call InitSecurityInterface, the provider's initialization function, to get a pointer to the SecurityFunctionTable structure. The structure contains pointers to SSPI functions implemented by the SSP. To use a function, the caller should dereference the field of the same name in the structure. It is not recommended to call an SSPI function directly. If the provider does not support an underlying operation, it might not implement the corresponding SSPI function.

Next, the applications call the AcquireCredentialsHandle with the name of the security provider specified. You can also use the EnumerateSecurityPackages function to enumerate the security packages available from the security provider and to return an array of SecPkgInfo structures that describe attributes of the available security packages. Calling the QuerySecurityPackageInfo function retrieves the attributes of the specified security package.

For a code example, see SSPI Sample Application.

See Also

Using SSPI | Authentication Services | Security Support Provider Interface Architecture | Security Packages | Authentication Services Security | Authentication Services Registry Settings | Authentication Services Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.