PKCS#11 is an API for storing and using crypto objects, and performing crypto operations on them.
It is specified at the RSA website and a handy reference is also available.