< prev index next >
test/sun/security/pkcs11/Signature/TestDSAKeyLength.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 26,36 ****
* @bug 7200306 8029158
* @summary verify that P11Signature impl will error out when initialized
* with unsupported key sizes
* @library ..
* @key randomness
! * @modules jdk.crypto.token
* @run main/othervm TestDSAKeyLength
* @run main/othervm TestDSAKeyLength sm
*/
import java.security.InvalidKeyException;
--- 26,36 ----
* @bug 7200306 8029158
* @summary verify that P11Signature impl will error out when initialized
* with unsupported key sizes
* @library ..
* @key randomness
! * @modules jdk.crypto.cryptoki
* @run main/othervm TestDSAKeyLength
* @run main/othervm TestDSAKeyLength sm
*/
import java.security.InvalidKeyException;
< prev index next >