I try to write Java code to get the private key in my USB token and I get the following error:
return new SunPKCS11(tmpConfigFile.getAbsolutePath());
'SunPKCS11(sun.security.pkcs11.Config)' is not public in 'sun.security.pkcs11.SunPKCS11'. Cannot be accessed from outside package
Thank a lot !