PKCS#11 crypto framework for multiple consumers