Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PKCS 11 Example 8: HSM Integration, list all slots on HSM token

P6R's PKCS 11 library maps one HSM slot to a P6R slot.

To do this the PKCS 11 library must the slot identifier of the slots defined on the HSM. Some vendors start slots identifiers and some do not. Some vendors provide tools to determine slot identifiers and some do not. This example shows how to use a P6R PKCS 11 function to list all slots identifiers in an HSM token.