test/jdk/sun/security/pkcs11/ec/ReadPKCS12.java
changeset 51460 97e361fe3433
parent 47216 71c04702a3d5
equal deleted inserted replaced
51459:7339b9e38182 51460:97e361fe3433
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2018, 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.
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 6405536
    26  * @bug 6405536
    27  * @summary Verify that we can parse ECPrivateKeys from PKCS#12 and use them
    27  * @summary Verify that we can parse ECPrivateKeys from PKCS#12 and use them
    28  * @author Andreas Sterbenz
    28  * @author Andreas Sterbenz
    29  * @library ..
    29  * @library /test/lib ..
    30  * @library ../../../../java/security/testlibrary
    30  * @library ../../../../java/security/testlibrary
    31  * @key randomness
    31  * @key randomness
    32  * @modules jdk.crypto.cryptoki
    32  * @modules jdk.crypto.cryptoki
    33  * @run main/othervm ReadPKCS12
    33  * @run main/othervm ReadPKCS12
    34  * @run main/othervm ReadPKCS12 sm policy
    34  * @run main/othervm ReadPKCS12 sm policy