Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SunPKCS11 in Java 9

882393Sep 1 2017 — edited Sep 1 2017

Given that the PKCS#11 provider (SunPKCS11) is in the sun package, will that class be available or will there be a standardized API for adding the provider dynamically?

Dynamically instantiating the provider is described in [1] and looks like this:

String configName = "/opt/bar/cfg/pkcs11.cfg";

Provider p = new sun.security.pkcs11.SunPKCS11(configName);

Security.addProvider(p);

[1] Section 2.2 Configuration, JDK 8 PKCS#11 Reference Guide

Cheers,

Markus

Comments

Processing

Post Details

Added on Sep 1 2017
0 comments
1,279 views