Partager via


Initializing the SSPI (Windows Embedded CE 6.0)

1/6/2010

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

Reference

Authentication Services Reference

Concepts

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

Other Resources

Authentication Services