< prev index next >

test/jdk/java/security/cert/X509Certificate/VerifyDefault.java

Print this page
rev 53269 : 8228967: Trust/Key store and SSL context utilities for tests
Reviewed-by: xuelei

*** 1,7 **** /* ! * Copyright (c) 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. --- 1,7 ---- /* ! * Copyright (c) 2017, 2019, 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.
*** 22,32 **** */ /** * @test * @bug 8175029 ! * @library ../../testlibrary * @summary check that default implementation of * X509Certificate.verify(PublicKey, Provider) works on custom * X509Certificate impl. */ --- 22,32 ---- */ /** * @test * @bug 8175029 ! * @library /test/lib * @summary check that default implementation of * X509Certificate.verify(PublicKey, Provider) works on custom * X509Certificate impl. */
*** 45,54 **** --- 45,55 ---- import java.security.cert.X509Certificate; import java.util.Collection; import java.util.Date; import java.util.List; import java.util.Set; + import jdk.test.lib.security.CertUtils; public class VerifyDefault { private static final String TEST_CERT = "-----BEGIN CERTIFICATE-----\n" + "MIICvTCCAaWgAwIBAgIEGYqL9TANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRT\n" +
< prev index next >