26得票2回答
Java 9中的SunPKCS11提供程序

在Java 8之前,SunPKCS11提供程序是这样加载的: Provider provider = new sun.security.pkcs11.SunPKCS11 (new ByteArrayInputStream (configFile.getBytes ())); Security...

8得票1回答
java.security.NoSuchAlgorithmException: PKCS11 KeyStore not available, Trying to Enable FIPS mode using SUNPKCS11 in java 11 Java安全性异常:PKCS11密钥库不可用,尝试在Java 11中使用SUNPKCS11启用FIPS模式

我正在尝试在Java 11中使用NSS和SUNPKCS11启用FIPS模式。但是我遇到了这个异常:java.security.NoSuchAlgorithmException: PKCS11 KeyStore not available. 当我在Java 8中尝试启用FIPS时,一切正常,但...