jdk/test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java
changeset 43248 5e15de85a1a0
parent 42693 6645de32a866
child 45288 58be10a068c2
equal deleted inserted replaced
43247:8d242299a219 43248:5e15de85a1a0
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 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 Verify that the RSA KeyPairGenerator works (use -Dseed=X to set PRNG seed)
    27  * @summary Verify that the RSA KeyPairGenerator works (use -Dseed=X to set PRNG seed)
    28  * @author Andreas Sterbenz
    28  * @author Andreas Sterbenz
    29  * @library ..
    29  * @library ..
    30  * @library /lib/testlibrary
    30  * @library /lib/testlibrary
    31  * @build jdk.testlibrary.*
    31  * @build jdk.testlibrary.*
    32  * @modules jdk.crypto.token
    32  * @modules jdk.crypto.cryptoki
    33  * @run main/othervm -Djava.security.debug=sunpkcs11 TestKeyPairGenerator
    33  * @run main/othervm -Djava.security.debug=sunpkcs11 TestKeyPairGenerator
    34  * @run main/othervm -Djava.security.debug=sunpkcs11 TestKeyPairGenerator
    34  * @run main/othervm -Djava.security.debug=sunpkcs11 TestKeyPairGenerator
    35  *                                                   sm TestKeyPairGenerator.policy
    35  *                                                   sm TestKeyPairGenerator.policy
    36  * @key randomness
    36  * @key randomness
    37  */
    37  */