< prev index next >

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

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

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * 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,11 +22,11 @@
  */
 
 /**
  * @test
  * @bug 8175029
- * @library ../../testlibrary
+ * @library /test/lib
  * @summary check that default implementation of
  *          X509CRL.verify(PublicKey, Provider) works on custom X509CRL impl.
  */
 
 import java.math.BigInteger;

@@ -42,10 +42,11 @@
 import java.security.cert.X509Certificate;
 import java.security.cert.X509CRL;
 import java.security.cert.X509CRLEntry;
 import java.util.Date;
 import java.util.Set;
+import jdk.test.lib.security.CertUtils;
 
 public class VerifyDefault {
     private static final String TEST_CRL =
         "-----BEGIN X509 CRL-----\n" +
         "MIIBGzCBhQIBATANBgkqhkiG9w0BAQQFADAfMQswCQYDVQQGEwJVUzEQMA4GA1UE\n" +
< prev index next >