jdk/test/sun/security/pkcs11/Signature/TestRSAKeyLength.java
changeset 43248 5e15de85a1a0
parent 42693 6645de32a866
equal deleted inserted replaced
43247:8d242299a219 43248:5e15de85a1a0
     1 /*
     1 /*
     2  * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2010, 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 %W% %E%
    25  * @test %W% %E%
    26  * @bug 6695485
    26  * @bug 6695485
    27  * @summary Make sure initSign/initVerify() check RSA key lengths
    27  * @summary Make sure initSign/initVerify() check RSA key lengths
    28  * @author Yu-Ching Valerie Peng
    28  * @author Yu-Ching Valerie Peng
    29  * @library ..
    29  * @library ..
    30  * @modules jdk.crypto.token
    30  * @modules jdk.crypto.cryptoki
    31  * @run main/othervm TestRSAKeyLength
    31  * @run main/othervm TestRSAKeyLength
    32  * @run main/othervm TestRSAKeyLength sm
    32  * @run main/othervm TestRSAKeyLength sm
    33  */
    33  */
    34 
    34 
    35 import java.security.InvalidKeyException;
    35 import java.security.InvalidKeyException;