Searched refs:Secmod (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DSecmod.java39 * The Secmod class defines the interface to the native NSS
45 * Secmod secmod = Secmod.getInstance();
58 public final class Secmod { class
62 private final static Secmod INSTANCE;
66 INSTANCE = new Secmod();
88 private Secmod() { method in class:Secmod
93 * Return the singleton Secmod instance.
95 public static Secmod getInstance() {
114 * Test whether this Secmod ha
[all...]
H A DConfig.java164 // Secmod.Module.getProvider() method.
180 private Secmod.DbMode nssDbMode = Secmod.DbMode.READ_WRITE;
192 // works only for NSS providers created via the Secmod API
312 Secmod.DbMode getNssDbMode() {
436 nssDbMode = Secmod.DbMode.READ_WRITE;
438 nssDbMode = Secmod.DbMode.READ_ONLY;
440 nssDbMode = Secmod.DbMode.NO_DB;
H A DP11KeyStore.java77 import sun.security.pkcs11.Secmod.*;
131 // whether to use NSS Secmod info for trust attributes
135 private Secmod.TrustType nssTrustType;
757 nssTrustType = Secmod.TrustType.ALL;
830 if (param instanceof Secmod.KeyStoreLoadParameter) {
831 nssTrustType = ((Secmod.KeyStoreLoadParameter)param).getTrustType();
833 nssTrustType = Secmod.TrustType.ALL;
2377 cka_trusted = Secmod.getInstance().isTrusted(cert, nssTrustType);
H A DSunPKCS11.java48 import sun.security.pkcs11.Secmod.*;
148 // Initialization via Secmod. The way this works is as follows:
149 // SunPKCS11 is either in normal mode or in NSS Secmod mode.
150 // Secmod is activated by specifying one or more of the following
156 // If we are in Secmod mode and configured to use either the
165 Secmod secmod = Secmod.getInstance();
176 throw new ProviderException("Secmod directory "
196 "Secmod not initialized and "
275 throw new ProviderException("Secmod modul
[all...]
/openjdk7/jdk/make/sun/security/pkcs11/
H A DMakefile130 sun/security/pkcs11/Secmod.java

Completed in 42 milliseconds