equal
deleted
inserted
replaced
33 import java.security.cert.X509Certificate; |
33 import java.security.cert.X509Certificate; |
34 |
34 |
35 import sun.security.pkcs11.wrapper.*; |
35 import sun.security.pkcs11.wrapper.*; |
36 import static sun.security.pkcs11.wrapper.PKCS11Constants.*; |
36 import static sun.security.pkcs11.wrapper.PKCS11Constants.*; |
37 |
37 |
|
38 import javax.tools.annotation.GenerateNativeHeader; |
|
39 |
38 /** |
40 /** |
39 * The Secmod class defines the interface to the native NSS |
41 * The Secmod class defines the interface to the native NSS |
40 * library and the configuration information it stores in its |
42 * library and the configuration information it stores in its |
41 * secmod.db file. |
43 * secmod.db file. |
42 * |
44 * |
53 * </pre> |
55 * </pre> |
54 * |
56 * |
55 * @since 1.6 |
57 * @since 1.6 |
56 * @author Andreas Sterbenz |
58 * @author Andreas Sterbenz |
57 */ |
59 */ |
|
60 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
61 @GenerateNativeHeader |
58 public final class Secmod { |
62 public final class Secmod { |
59 |
63 |
60 private final static boolean DEBUG = false; |
64 private final static boolean DEBUG = false; |
61 |
65 |
62 private final static Secmod INSTANCE; |
66 private final static Secmod INSTANCE; |