Pass the PKCS11Session object directly to the key constructor of private key objects.
The default session object gets its configuration from environment variables, which is not a good approach in many environments. I need to use sessions with custom configurations instead.
Pass the PKCS11Session object directly to the key constructor of private key objects.
The default session object gets its configuration from environment variables, which is not a good approach in many environments. I need to use sessions with custom configurations instead.