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. |
27 * @summary basic test of SHA1withECDSA and NONEwithECDSA signing/verifying |
27 * @summary basic test of SHA1withECDSA and NONEwithECDSA signing/verifying |
28 * @author Andreas Sterbenz |
28 * @author Andreas Sterbenz |
29 * @library .. |
29 * @library .. |
30 * @library ../../../../java/security/testlibrary |
30 * @library ../../../../java/security/testlibrary |
31 * @key randomness |
31 * @key randomness |
32 * @modules jdk.crypto.token |
32 * @modules jdk.crypto.cryptoki |
33 * @run main/othervm TestECDSA |
33 * @run main/othervm TestECDSA |
34 * @run main/othervm TestECDSA sm policy |
34 * @run main/othervm TestECDSA sm policy |
35 */ |
35 */ |
36 |
36 |
37 import java.security.KeyFactory; |
37 import java.security.KeyFactory; |