sunpkcs11 Questions
2
There are my current providers:
0 - Provider name: SUN
1 - Provider namer: SunRsaSign
2 - Provider name: SunEC
...
9 - Provider name: SunPKCS11-CartaoCidadao
The ninth provider is th...
Bloodroot asked 29/8, 2018 at 16:31
1
I have a problem and I tried searching a solution but couldn't find it. Someone please help me, thanks you so much.
String pkcs11Config = "name=CA-Token\nlibrary=C:/java/CA-Token_v2.dll\nslot=...
1
I'm trying to enable FIPS mode using SUNPKCS11 with NSS in Java 11. I got this exception java.security.NoSuchAlgorithmException: PKCS11 KeyStore not available.
When I tried to enable FIPS in Java ...
2
Solved
Up to Java 8 the SunPKCS11 provider was loaded like this:
Provider provider = new sun.security.pkcs11.SunPKCS11 (new ByteArrayInputStream (configFile.getBytes ()));
Security.addProvider (provider)...
1
© 2022 - 2024 — McMap. All rights reserved.