Package Management API

Now that you have access to the security interface of the SSPI library, you most likely want to choose the security package and protocol that satisfies your needs. The Package Management API functions provide developers with all they need to enumerate packages and protocols and to describe the capabilities of each. Using these functions, you can ask, for example, whether the given protocol supports the privacy and integrity of messages and so on.

EnumerateSecurityPackages

The function EnumerateSecurityPackages() is called when the program needs to retrieve information about the capabilities of the security packages available on the system, as shown in Listing 16.5. It takes two output parameters. The first one is a pointer ...

Get Microsoft® Windows® 2000 Security Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.