equal
deleted
inserted
replaced
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
|
26 /* |
|
27 * @test |
|
28 * @bug 8134708 |
|
29 * @summary Check if LDAP resources from CRLDP and AIA extensions can be loaded |
|
30 * @run main/othervm ExtensionsWithLDAP CRLDP ldap.host.for.crldp |
|
31 * @modules jdk.security.auth |
|
32 * @run main/othervm ExtensionsWithLDAP AIA ldap.host.for.aia |
|
33 */ |
|
34 |
26 import java.io.ByteArrayInputStream; |
35 import java.io.ByteArrayInputStream; |
27 import java.io.File; |
36 import java.io.File; |
28 import java.io.IOException; |
37 import java.io.IOException; |
29 import java.net.InetSocketAddress; |
38 import java.net.InetSocketAddress; |
30 import java.net.Socket; |
39 import java.net.Socket; |
43 import java.util.HashSet; |
52 import java.util.HashSet; |
44 import java.util.List; |
53 import java.util.List; |
45 import java.util.Set; |
54 import java.util.Set; |
46 import java.util.function.Consumer; |
55 import java.util.function.Consumer; |
47 |
56 |
48 /* |
|
49 * @test |
|
50 * @bug 8134708 |
|
51 * @summary Check if LDAP resources from CRLDP and AIA extensions can be loaded |
|
52 * @run main/othervm ExtensionsWithLDAP CRLDP ldap.host.for.crldp |
|
53 * @run main/othervm ExtensionsWithLDAP AIA ldap.host.for.aia |
|
54 */ |
|
55 public class ExtensionsWithLDAP { |
57 public class ExtensionsWithLDAP { |
56 |
58 |
57 /* |
59 /* |
58 * Certificate: |
60 * Certificate: |
59 * Data: |
61 * Data: |