9 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * version 2 for more details (a copy is included in the LICENSE file that
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 */
24
25 /*
26 * @test
27 * @bug 8165996
28 * @summary Test NSS DB Sqlite
29 * @library ../
30 * @modules java.base/sun.security.rsa
31 * java.base/sun.security.provider
32 * java.base/sun.security.jca
33 * java.base/sun.security.tools.keytool
34 * java.base/sun.security.x509
35 * java.base/com.sun.crypto.provider
36 * jdk.crypto.cryptoki/sun.security.pkcs11:+open
37 * @run main/othervm/timeout=120 TestNssDbSqlite
38 * @author Martin Balao (mbalao@redhat.com)
39 */
40
41 import java.security.PrivateKey;
42 import java.security.cert.Certificate;
43 import java.security.KeyStore;
44 import java.security.Provider;
45 import java.security.Signature;
46
47 import sun.security.rsa.SunRsaSign;
48 import sun.security.jca.ProviderList;
|
9 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * version 2 for more details (a copy is included in the LICENSE file that
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 */
24
25 /*
26 * @test
27 * @bug 8165996
28 * @summary Test NSS DB Sqlite
29 * @comment There is no NSS on Aix.
30 * @requires os.family != "aix"
31 * @library ../
32 * @modules java.base/sun.security.rsa
33 * java.base/sun.security.provider
34 * java.base/sun.security.jca
35 * java.base/sun.security.tools.keytool
36 * java.base/sun.security.x509
37 * java.base/com.sun.crypto.provider
38 * jdk.crypto.cryptoki/sun.security.pkcs11:+open
39 * @run main/othervm/timeout=120 TestNssDbSqlite
40 * @author Martin Balao (mbalao@redhat.com)
41 */
42
43 import java.security.PrivateKey;
44 import java.security.cert.Certificate;
45 import java.security.KeyStore;
46 import java.security.Provider;
47 import java.security.Signature;
48
49 import sun.security.rsa.SunRsaSign;
50 import sun.security.jca.ProviderList;
|