equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 * @test |
25 * @test |
26 * @bug 6269847 |
26 * @bug 6269847 |
27 * @summary store a NSS PKCS11 PrivateKeyEntry to JKS KeyStore throws confusing NPE |
27 * @summary store a NSS PKCS11 PrivateKeyEntry to JKS KeyStore throws confusing NPE |
28 * @author Wang Weijun |
28 * @author Wang Weijun |
29 * @library .. |
29 * @library .. |
30 * @modules jdk.crypto.token |
30 * @modules jdk.crypto.cryptoki |
31 * @run main/othervm JksSetPrivateKey |
31 * @run main/othervm JksSetPrivateKey |
32 * @run main/othervm JksSetPrivateKey sm policy |
32 * @run main/othervm JksSetPrivateKey sm policy |
33 */ |
33 */ |
34 |
34 |
35 import java.io.File; |
35 import java.io.File; |