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.