Is there a test provider that does not allow private key export?

Wang Weijun weijun.wang at oracle.com
Thu Jun 16 13:54:51 UTC 2016


Hi Guys

I am working on a keytool -providername bug [1] and would like to write a test with a provider that does not allow a private key to be exported (therefore not usable by Signature in another provider). Do we already have one inside jdk/test? Or is it possible to configure the SunPKCS11-NSS provider to do so?

Thanks
Max

[1] https://bugs.openjdk.java.net/browse/JDK-8143991


More information about the security-dev mailing list